/* Thesaurus.co — Production Design System
 * Premium, calm, intelligent. No clutter.
 * ---------------------------------------------------------------- */

:root {
  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Source Serif 4", "Source Serif Pro", Georgia, serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;

  /* Color — light theme */
  --bg: #fbfaf7;          /* warm off-white */
  --bg-soft: #f3f1ec;
  --bg-card: #ffffff;
  --bg-muted: #f7f6f2;
  --border: #e7e3da;
  --border-soft: #eeebe3;
  --ink: #0f172a;          /* near-black navy */
  --ink-2: #1f2937;
  --ink-muted: #475569;
  --ink-soft: #64748b;
  --ink-faint: #94a3b8;
  --accent: #4f46e5;       /* indigo */
  --accent-soft: #eef2ff;
  --accent-deep: #3730a3;
  --accent-2: #7c3aed;     /* violet */
  --good: #047857;
  --good-soft: #ecfdf5;
  --warn: #b45309;
  --warn-soft: #fffbeb;
  --bad: #b91c1c;
  --bad-soft: #fef2f2;

  /* Radii / shadows */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04),
    0 1px 1px rgba(15, 23, 42, 0.03);
  --shadow: 0 4px 14px -6px rgba(15, 23, 42, 0.08),
    0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 14px 40px -16px rgba(15, 23, 42, 0.18),
    0 6px 18px -8px rgba(15, 23, 42, 0.10);

  /* Sizes */
  --container: 1120px;
  --container-narrow: 880px;
  --header-h: 64px;
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
html, body {
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: var(--accent-deep);
  text-decoration: none;
}
a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
button {
  font-family: inherit;
  cursor: pointer;
}
hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}
ul,
ol {
  padding-left: 1.25rem;
}
code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--bg-soft);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

/* Headings */
h1,
h2,
h3,
h4,
h5 {
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0;
}
h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.025em;
}
h2 {
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  letter-spacing: -0.02em;
}
h3 {
  font-size: 1.25rem;
}
h4 {
  font-size: 1.05rem;
}

p {
  margin: 0 0 1rem 0;
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.container.narrow {
  max-width: var(--container-narrow);
}
.section {
  padding: 56px 0;
}
.section-sm {
  padding: 32px 0;
}
.section-lg {
  padding: 88px 0;
}
.grid {
  display: grid;
  gap: 1.25rem;
}
.grid-2 {
  grid-template-columns: 1fr;
}
.grid-3 {
  grid-template-columns: 1fr;
}
.grid-4 {
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 980px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---- Header --------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand:hover {
  color: var(--ink);
  text-decoration: none;
}
.brand .logo {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: white;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}
.brand .dot {
  color: var(--accent);
}
.nav {
  display: none;
  gap: 22px;
  align-items: center;
}
@media (min-width: 900px) {
  .nav {
    display: flex;
  }
}
.nav a {
  color: var(--ink-muted);
  font-size: 0.93rem;
  font-weight: 500;
}
.nav a:hover {
  color: var(--ink);
  text-decoration: none;
}
.nav a.cta {
  background: var(--ink);
  color: white;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.nav a.cta:hover {
  background: var(--accent-deep);
  color: white;
}

/* Mobile nav */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 38px;
  height: 38px;
  color: var(--ink);
}
@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }
}
.mobile-nav {
  display: none;
  border-top: 1px solid var(--border-soft);
  background: var(--bg);
  padding: 12px 20px 18px;
}
.mobile-nav.open {
  display: block;
}
.mobile-nav a {
  display: block;
  padding: 10px 0;
  color: var(--ink-2);
  font-weight: 500;
  border-bottom: 1px solid var(--border-soft);
}
.mobile-nav a:last-child {
  border-bottom: none;
}

/* ---- Hero ---------------------------------------------------- */
.hero {
  padding: 80px 0 56px;
  background:
    radial-gradient(1200px 600px at 50% -100px, rgba(79, 70, 229, 0.10), transparent 60%),
    radial-gradient(800px 400px at 80% 0%, rgba(124, 58, 237, 0.08), transparent 60%);
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 20px;
}
.hero-kicker .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin-bottom: 18px;
}
.hero .sub {
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  color: var(--ink-muted);
  max-width: 64ch;
  margin-bottom: 32px;
}

/* Search */
.search-shell {
  position: relative;
  max-width: 720px;
  width: 100%;
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 10px 12px 10px 18px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
}
.search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft), var(--shadow);
}
.search input {
  flex: 1 1 0;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: 1.05rem;
  color: var(--ink);
  padding: 10px 4px;
  font-family: inherit;
}
.search input:focus {
  outline: none;
}
.search input::placeholder {
  color: var(--ink-faint);
}
.search .search-icon {
  width: 20px;
  height: 20px;
  color: var(--ink-muted);
  flex: none;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: all 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
  font-family: inherit;
  background: transparent;
  color: var(--ink);
}
.btn:hover {
  text-decoration: none;
}
.btn-primary {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.btn-primary:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: white;
}
.btn-accent {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: white;
}
.btn-ghost {
  background: white;
  color: var(--ink);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--ink-muted);
  background: var(--bg-muted);
  color: var(--ink);
}
.btn-lg {
  font-size: 1rem;
  padding: 13px 24px;
}

/* Suggestions dropdown */
.suggest {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  z-index: 30;
  max-height: 360px;
  overflow-y: auto;
}
.suggest.open {
  display: block;
}
.suggest a,
.suggest button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 16px;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
  border: 0;
  background: transparent;
  width: 100%;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
}
.suggest a:last-child,
.suggest button:last-child {
  border-bottom: none;
}
.suggest a:hover,
.suggest button:hover,
.suggest .active {
  background: var(--accent-soft);
  color: var(--accent-deep);
}
.suggest .meta {
  color: var(--ink-faint);
  font-size: 0.85rem;
}

/* Chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: white;
  border: 1px solid var(--border);
  color: var(--ink-2);
  font-size: 0.85rem;
  padding: 7px 12px;
  border-radius: 999px;
  font-weight: 500;
  transition: all 0.15s ease;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 480px) {
  .chip {
    font-size: 0.8rem;
    padding: 6px 10px;
  }
  .hero h1 {
    max-width: none;
    font-size: clamp(1.85rem, 8vw, 2.6rem);
    overflow-wrap: break-word;
    word-break: normal;
  }
  .hero {
    padding: 56px 0 36px;
  }
  .word-hero h1 {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }
}
.chip:hover {
  border-color: var(--ink-muted);
  background: var(--bg-muted);
  text-decoration: none;
  color: var(--ink);
}
.chip .icon {
  width: 14px;
  height: 14px;
  color: var(--ink-muted);
}

/* Section heading helper */
.section-head {
  margin-bottom: 28px;
}
.section-head .kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.section-head h2 {
  margin-bottom: 6px;
}
.section-head p {
  color: var(--ink-muted);
  max-width: 60ch;
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.18s ease;
}
.card:hover {
  border-color: var(--ink-faint);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.card h3 {
  font-size: 1.05rem;
}
.card p {
  color: var(--ink-muted);
  margin: 0;
  font-size: 0.94rem;
}
.card .icon {
  width: 36px;
  height: 36px;
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  color: var(--accent-deep);
  display: inline-grid;
  place-items: center;
  margin-bottom: 6px;
}
.card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent-deep);
  font-weight: 600;
  font-size: 0.9rem;
}
.card-link::after {
  content: "→";
  transition: transform 0.15s ease;
}
.card:hover .card-link::after {
  transform: translateX(3px);
}

/* Pills / categories */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill {
  background: var(--bg-soft);
  color: var(--ink-2);
  font-size: 0.8rem;
  padding: 5px 11px;
  border-radius: 999px;
  font-weight: 500;
  border: 1px solid var(--border-soft);
}
.pill.accent {
  background: var(--accent-soft);
  color: var(--accent-deep);
  border-color: rgba(79, 70, 229, 0.15);
}
.pill.good {
  background: var(--good-soft);
  color: var(--good);
}
.pill.warn {
  background: var(--warn-soft);
  color: var(--warn);
}

/* Breadcrumbs */
.crumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin-bottom: 18px;
}
.crumb a {
  color: var(--ink-muted);
}
.crumb a:hover {
  color: var(--ink);
}
.crumb .sep {
  margin: 0 4px;
  color: var(--ink-faint);
}
.crumb .current {
  color: var(--ink-2);
  font-weight: 500;
}

/* Word page */
.word-hero {
  border-bottom: 1px solid var(--border-soft);
  padding: 36px 0 28px;
  background: linear-gradient(180deg, white, transparent);
}
.word-hero h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.word-hero .pos {
  font-style: italic;
  color: var(--ink-muted);
  font-size: 1rem;
}
.word-hero .pron {
  font-family: var(--font-mono);
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-left: 12px;
}

/* Quick answer box */
.answer-box {
  background: var(--accent-soft);
  border: 1px solid rgba(79, 70, 229, 0.15);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 24px 0;
  position: relative;
}
.answer-box .label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 8px;
}
.answer-box p {
  color: var(--ink);
  margin: 0;
  font-size: 1.02rem;
}

/* Group of related words */
.word-group {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 14px;
}
.word-group h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.word-group .gloss {
  font-size: 0.92rem;
  color: var(--ink-muted);
  font-style: italic;
  margin-bottom: 14px;
}
.word-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.word-list a,
.word-tag {
  display: inline-flex;
  align-items: center;
  background: var(--bg-soft);
  color: var(--ink-2);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  border: 1px solid var(--border-soft);
  text-decoration: none;
  transition: all 0.12s ease;
}
.word-list a:hover {
  background: var(--accent-soft);
  color: var(--accent-deep);
  border-color: rgba(79, 70, 229, 0.15);
  text-decoration: none;
}

/* Example list */
.examples li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-soft);
  color: var(--ink-2);
}
.examples li:last-child {
  border-bottom: none;
}
.examples li em {
  color: var(--accent-deep);
  font-style: normal;
  font-weight: 600;
  background: var(--accent-soft);
  padding: 1px 5px;
  border-radius: 4px;
}

/* Two-column layout */
.col-layout {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
}
@media (min-width: 980px) {
  .col-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 48px;
  }
}
.aside-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 16px;
}
.aside-card h4 {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 12px;
}
.aside-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.aside-card li {
  margin-bottom: 8px;
}
.aside-card a {
  color: var(--ink-2);
  font-size: 0.93rem;
  font-weight: 500;
}
.aside-card a:hover {
  color: var(--accent-deep);
  text-decoration: underline;
}

/* Article body */
.prose {
  font-family: var(--font-sans);
  font-size: 1.06rem;
  line-height: 1.7;
  color: var(--ink-2);
}
.prose h2 {
  margin: 36px 0 12px;
  scroll-margin-top: 80px;
}
.prose h3 {
  margin: 28px 0 10px;
  scroll-margin-top: 80px;
}
.prose p,
.prose li {
  color: var(--ink-2);
}
.prose ul,
.prose ol {
  margin: 0 0 1rem 0;
  padding-left: 1.3rem;
}
.prose li {
  margin: 4px 0;
}
.prose blockquote {
  margin: 18px 0;
  padding: 12px 20px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink-2);
  font-style: italic;
}
.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(79, 70, 229, 0.4);
}
.prose strong {
  color: var(--ink);
  font-weight: 700;
}

/* Before/after blocks */
.beforeafter {
  display: grid;
  gap: 14px;
  margin: 20px 0;
}
@media (min-width: 700px) {
  .beforeafter {
    grid-template-columns: 1fr 1fr;
  }
}
.ba {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  background: white;
}
.ba.before {
  background: var(--bad-soft);
  border-color: rgba(185, 28, 28, 0.12);
}
.ba.after {
  background: var(--good-soft);
  border-color: rgba(4, 120, 87, 0.12);
}
.ba .label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.ba.before .label {
  color: var(--bad);
}
.ba.after .label {
  color: var(--good);
}

/* Tools */
.tool-shell {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
}
.tool-shell .label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: 6px;
  display: block;
}
.tool-shell input[type="text"],
.tool-shell textarea,
.tool-shell select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg-muted);
}
.tool-shell input[type="text"]:focus,
.tool-shell textarea:focus,
.tool-shell select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  background: white;
}
.tool-shell textarea {
  min-height: 110px;
  resize: vertical;
}
.tool-row {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  margin-bottom: 12px;
}
@media (min-width: 720px) {
  .tool-row.two {
    grid-template-columns: 1fr 1fr;
  }
}
.tool-results {
  background: var(--bg-muted);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 18px 22px;
  min-height: 80px;
}
.tool-results h4 {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 10px;
}
.tool-empty {
  color: var(--ink-faint);
  font-size: 0.94rem;
}
.tool-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

/* Tables */
.tbl-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
thead th {
  text-align: left;
  background: var(--bg-soft);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
}
tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: top;
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: var(--bg-muted);
}

/* Footer */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 56px 0 36px;
  margin-top: 72px;
}
.footer-cols {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  margin-bottom: 28px;
}
@media (min-width: 720px) {
  .footer-cols {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}
.footer-col h5 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 14px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li {
  margin-bottom: 8px;
}
.footer-col a {
  color: var(--ink-2);
  font-size: 0.95rem;
}
.footer-col a:hover {
  color: var(--accent-deep);
}
.footer-meta {
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.86rem;
  color: var(--ink-muted);
}
.footer-meta a {
  color: var(--ink-muted);
}

/* ---- Acquisition page ---------------------------------------- */
.acquire-hero {
  position: relative;
  padding: 72px 0 56px;
  background:
    radial-gradient(900px 500px at 80% 0%, rgba(124, 58, 237, 0.14), transparent 60%),
    radial-gradient(900px 500px at 0% 30%, rgba(79, 70, 229, 0.14), transparent 60%),
    var(--bg);
}
.acquire-hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  max-width: 20ch;
}
.acquire-stats {
  display: grid;
  gap: 16px;
  margin: 36px 0 0;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 720px) {
  .acquire-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}
.stat {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.stat .num {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.025em;
  font-feature-settings: "tnum";
}
.stat .lbl {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-top: 2px;
}
.price-card {
  background: linear-gradient(135deg, var(--ink) 0%, #1e1b4b 60%, var(--accent-deep) 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  box-shadow: var(--shadow-lg);
  margin: 28px 0;
}
.price-card .label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: #c7d2fe;
  margin-bottom: 6px;
}
.price-card .price {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  font-feature-settings: "tnum";
}
.price-card .sub {
  color: #c7d2fe;
  font-size: 1rem;
  margin-bottom: 20px;
}
.price-card .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.price-card .btn-primary {
  background: white;
  color: var(--ink);
  border-color: white;
}
.price-card .btn-primary:hover {
  background: #f3f0ff;
  color: var(--ink);
  border-color: #f3f0ff;
}
.price-card .btn-ghost {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}
.price-card .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
}

/* Chart card */
.chart-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin: 24px 0;
}
.chart-card h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.chart-card .subtitle {
  color: var(--ink-muted);
  font-size: 0.92rem;
  margin-bottom: 18px;
}
.chart-card svg {
  width: 100%;
  height: auto;
}
.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--ink-muted);
}
.chart-legend .swatch {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  margin-right: 6px;
  vertical-align: middle;
}

/* Callout strip */
.callout {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.callout .ico {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: inline-grid;
  place-items: center;
}
.callout h4 {
  margin-bottom: 4px;
  font-size: 1rem;
}
.callout p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

/* Definition list (used on acquire) */
.dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 720px) {
  .dl {
    grid-template-columns: 220px 1fr;
    gap: 18px 24px;
  }
}
.dl dt {
  font-weight: 700;
  color: var(--ink);
  font-size: 0.96rem;
}
.dl dd {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.98rem;
}

/* Form */
.form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .form-grid.two {
    grid-template-columns: 1fr 1fr;
  }
}
.form-grid label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 6px;
  display: block;
}
.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  font-family: inherit;
  background: white;
  color: var(--ink);
}
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.form-grid textarea {
  min-height: 120px;
  resize: vertical;
}

.note {
  font-size: 0.86rem;
  color: var(--ink-muted);
}

.kbd {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: 4px;
  padding: 2px 6px;
  color: var(--ink-2);
}

/* Utility */
.text-muted {
  color: var(--ink-muted);
}
.text-center {
  text-align: center;
}
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.hidden { display: none !important; }

@media (max-width: 700px) {
  .hide-sm { display: none; }
}

/* Print */
@media print {
  .site-header,
  .site-footer,
  .nav-toggle,
  .mobile-nav,
  .chips,
  .price-card .actions {
    display: none;
  }
  body {
    background: white;
  }
}
