@import url("https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@6..72,600;6..72,700&display=swap");

:root {
  --bg: #f8f5ee;
  --bg-strong: #efe8da;
  --panel: #fffdf7;
  --ink: #111827;
  --muted: #4b5563;
  --line: #ddd4c1;
  --brand: #0f766e;
  --brand-deep: #115e59;
  --accent: #b45309;
  --danger: #991b1b;
  --ok: #166534;
  --radius: 16px;
  --shadow: 0 18px 40px rgba(17, 24, 39, 0.08);
}

* {
  box-sizing: border-box;
}

.hidden {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans SC", "Space Grotesk", sans-serif;
  background:
    radial-gradient(1200px 500px at 90% -10%, #c9f2ea 0%, rgba(201, 242, 234, 0) 60%),
    radial-gradient(900px 420px at -10% 5%, #f4e1bc 0%, rgba(244, 225, 188, 0) 58%),
    linear-gradient(180deg, #f9f7f2 0%, #f3eee3 100%);
  min-height: 100vh;
}

h1,
h2,
h3,
h4,
.brand,
.cta,
.stat-value {
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 2.2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(221, 212, 193, 0.8);
  backdrop-filter: blur(14px);
  background: rgba(249, 247, 242, 0.85);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(15, 118, 110, 0.2);
  box-shadow: 0 10px 30px rgba(15, 118, 110, 0.2);
}

.brand {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.desktop-nav a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  padding: 0.35rem 0.2rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--brand-deep);
  border-color: var(--brand);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.68rem 1.08rem;
  border-radius: 11px;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

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

.btn-primary {
  background: linear-gradient(120deg, var(--brand), #0f9d90);
  color: #fff;
  box-shadow: 0 12px 30px rgba(15, 118, 110, 0.26);
}

.btn-primary:hover {
  box-shadow: 0 16px 35px rgba(15, 118, 110, 0.32);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
  border-color: rgba(17, 24, 39, 0.15);
}

.btn-secondary:hover {
  background: #fff;
}

.btn-link {
  color: var(--muted);
  border-color: rgba(17, 24, 39, 0.15);
}

.btn-link:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.65);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(17, 24, 39, 0.2);
  border-radius: 10px;
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 16px;
  height: 2px;
  background: #1f2937;
  border-radius: 2px;
  position: relative;
  transition: transform 0.2s ease;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -5px;
}

.menu-toggle span::after {
  top: 5px;
}

.mobile-panel {
  display: none;
  padding: 0.7rem 0 1rem;
}

.mobile-panel nav {
  display: grid;
  gap: 0.4rem;
}

.mobile-panel a {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(221, 212, 193, 0.9);
  padding: 0.66rem 0.86rem;
  border-radius: 10px;
  font-weight: 600;
  color: var(--ink);
}

.mobile-panel.open {
  display: block;
}

.hero {
  padding: 4.5rem 0 2.4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: stretch;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(15, 118, 110, 0.12);
  border: 1px solid rgba(15, 118, 110, 0.25);
  color: var(--brand-deep);
  border-radius: 999px;
  padding: 0.36rem 0.72rem;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero h1 {
  margin: 0.95rem 0;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.08;
}

.lead {
  color: var(--muted);
  font-size: 1.07rem;
  line-height: 1.74;
  max-width: 64ch;
}

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

.panel {
  background: var(--panel);
  border: 1px solid rgba(221, 212, 193, 0.92);
  border-radius: var(--radius);
  padding: 1.15rem;
  box-shadow: var(--shadow);
}

.panel h3 {
  margin: 0;
  font-size: 1.1rem;
}

.kpi-list {
  margin: 0.9rem 0 0;
  display: grid;
  gap: 0.7rem;
}

.kpi-item {
  display: grid;
  grid-template-columns: minmax(132px, 0.42fr) minmax(0, 1fr);
  align-items: start;
  gap: 0.7rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px dashed rgba(221, 212, 193, 0.92);
}

.kpi-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.stat-value {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.14;
  overflow-wrap: anywhere;
  color: var(--brand-deep);
}

.stat-note {
  min-width: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.smallclaw-promo {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  color: inherit;
}

.smallclaw-promo-icon {
  width: 176px;
  height: 176px;
  display: block;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.smallclaw-promo-copy {
  min-width: 0;
}

.smallclaw-promo-label {
  margin-bottom: 0.5rem;
  color: #bfe3ff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.smallclaw-promo h3 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  line-height: 1.16;
  color: #f6fbff;
}

.smallclaw-promo p {
  margin: 0.7rem 0 0;
  color: #d2def3;
  font-size: 0.98rem;
  line-height: 1.6;
}

.smallclaw-promo-link {
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  color: #a7dcff;
  font-size: 0.9rem;
  font-weight: 700;
}

.smallclaw-promo-link::after {
  content: "->";
  margin-left: 0.45rem;
}

.section {
  padding: 2.8rem 0;
}

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

.section-head h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.05rem);
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.grid-3,
.grid-2,
.grid-4 {
  display: grid;
  gap: 0.95rem;
}

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

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(221, 212, 193, 0.95);
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
}

.card h3,
.card h4 {
  margin: 0;
}

.card p {
  color: var(--muted);
  line-height: 1.62;
  margin: 0.6rem 0 0;
}

.legacy-content > :first-child {
  margin-top: 0;
}

.legacy-content h1,
.legacy-content h2,
.legacy-content h3,
.legacy-content h4,
.legacy-content h5,
.legacy-content h6 {
  margin: 1rem 0 0.5rem;
  line-height: 1.34;
}

.legacy-content h5,
.legacy-content h6 {
  font-size: 1rem;
}

.legacy-content p,
.legacy-content li {
  color: var(--muted);
  line-height: 1.72;
}

.legacy-content ul,
.legacy-content ol {
  margin: 0.6rem 0 0;
  padding-left: 1.2rem;
}

.legacy-content a {
  color: #9fd3ff;
  text-decoration: underline;
}

.legacy-content img,
.legacy-content video,
.legacy-content iframe {
  max-width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(133, 152, 191, 0.28);
}

.legacy-content iframe {
  width: 100%;
  min-height: 300px;
}

pre {
  margin: 0;
  border-radius: 12px;
  border: 1px solid rgba(17, 24, 39, 0.15);
  background: #0f172a;
  color: #e5e7eb;
  padding: 0.9rem;
  overflow-x: auto;
  font-size: 0.82rem;
  line-height: 1.56;
}

code {
  font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.chip-list {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  border: 1px solid rgba(17, 24, 39, 0.2);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #1f2937;
  padding: 0.3rem 0.54rem;
  background: rgba(255, 255, 255, 0.75);
}

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

.metric {
  border-radius: var(--radius);
  border: 1px solid rgba(15, 118, 110, 0.26);
  background: rgba(201, 242, 234, 0.37);
  padding: 1rem;
}

.metric .stat-value {
  font-size: 1.58rem;
}

.metric p {
  margin: 0.2rem 0 0;
  color: #374151;
  font-size: 0.91rem;
}

.compare {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid rgba(221, 212, 193, 0.95);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.84);
}

.compare th,
.compare td {
  padding: 0.84rem;
  text-align: left;
  border-bottom: 1px solid rgba(221, 212, 193, 0.85);
  font-size: 0.92rem;
}

.compare th {
  background: rgba(15, 118, 110, 0.1);
  font-weight: 700;
}

.compare tr:last-child td {
  border-bottom: none;
}

.note {
  font-size: 0.84rem;
  color: var(--muted);
  margin-top: 0.58rem;
}

.callout {
  border-radius: var(--radius);
  padding: 1rem 1.12rem;
  border: 1px solid rgba(180, 83, 9, 0.26);
  background: rgba(250, 236, 207, 0.55);
}

.callout h3 {
  margin: 0;
  color: #7c2d12;
}

.callout p {
  margin: 0.46rem 0 0;
  color: #7c2d12;
}

.cta-band {
  margin-top: 0.8rem;
  border: 1px solid rgba(15, 118, 110, 0.26);
  background: linear-gradient(115deg, rgba(220, 248, 241, 0.8), rgba(254, 243, 199, 0.74));
  border-radius: 20px;
  padding: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.cta-band h3 {
  margin: 0;
}

.cta-band p {
  margin: 0.35rem 0 0;
  color: #374151;
}

.site-footer {
  border-top: 1px solid rgba(221, 212, 193, 0.95);
  background: rgba(252, 249, 240, 0.86);
  margin-top: 2.4rem;
}

.footer-inner {
  padding: 1.3rem 0 1.8rem;
}

.footer-company-meta {
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 0.84rem;
  line-height: 1.52;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--muted);
}

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

.lang-toggle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(133, 152, 191, 0.35);
  background: rgba(13, 20, 37, 0.78);
  color: #dbe7ff;
  appearance: none;
  -webkit-appearance: none;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  margin-left: 0.55rem;
  z-index: 50;
}

.lang-toggle:hover {
  background: rgba(18, 27, 48, 0.92);
  color: #eef4ff;
  border-color: rgba(155, 181, 223, 0.55);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: transform 0.48s ease, opacity 0.48s ease;
  transition-delay: var(--d, 0ms);
}

body.ready .reveal {
  opacity: 1;
  transform: translateY(0);
}

/* Home: colder, cinematic, minimal */
body[data-page="home"] {
  --bg: #060912;
  --bg-strong: #0a1020;
  --panel: rgba(14, 20, 36, 0.78);
  --ink: #eef4ff;
  --muted: #9eabc3;
  --line: rgba(133, 152, 191, 0.24);
  --brand: #57b6ff;
  --brand-deep: #8ed5ff;
  --accent: #94a3ff;
  background:
    radial-gradient(1000px 500px at 90% -10%, rgba(58, 122, 255, 0.3) 0%, rgba(58, 122, 255, 0) 65%),
    radial-gradient(780px 420px at -8% 10%, rgba(57, 189, 255, 0.2) 0%, rgba(57, 189, 255, 0) 62%),
    linear-gradient(180deg, #04070f 0%, #080d1a 52%, #060912 100%);
}

body[data-page="home"] .site-header {
  background: rgba(4, 9, 18, 0.62);
  border-bottom-color: rgba(133, 152, 191, 0.2);
}

body[data-page="home"] .desktop-nav a {
  color: #a7b6d3;
}

body[data-page="home"] .desktop-nav a:hover,
body[data-page="home"] .desktop-nav a.active {
  color: #d8e9ff;
  border-color: #7cc8ff;
}

body[data-page="home"] .btn-secondary,
body[data-page="home"] .btn-link {
  background: rgba(13, 20, 37, 0.7);
  color: #dbe7ff;
  border-color: rgba(133, 152, 191, 0.35);
}

body[data-page="home"] .btn-secondary:hover,
body[data-page="home"] .btn-link:hover {
  background: rgba(18, 27, 48, 0.9);
}

body[data-page="home"] .hero {
  padding: 4.2rem 0 2.2rem;
}

.home-hero {
  position: relative;
}

.home-smallclaw-title-link {
  position: absolute;
  top: 1.2rem;
  right: max(1.1rem, calc((100vw - 1120px) / 2));
  z-index: 2;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: calc(100vw - 2.2rem);
  padding: 0.62rem 0.92rem;
  border: 1px solid rgba(255, 125, 83, 0.72);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 232, 214, 0.98), rgba(255, 91, 63, 0.96));
  color: #2a0a03;
  box-shadow: 0 18px 42px rgba(255, 85, 44, 0.32);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.home-smallclaw-title-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(255, 85, 44, 0.42);
}

.home-smallclaw-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.58rem;
  min-width: 0;
  white-space: nowrap;
}

.home-smallclaw-new {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #fff7ed;
  color: #c2410c;
  padding: 0.12rem 0.42rem;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.home-smallclaw-title {
  min-width: 0;
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: 1.28rem;
  font-weight: 900;
  line-height: 1;
}

.home-smallclaw-product {
  flex: 0 0 auto;
  border-radius: 8px;
  background: rgba(42, 10, 3, 0.9);
  color: #fff7ed;
  padding: 0.18rem 0.44rem;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.15;
}

.home-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.68fr);
  gap: 3rem;
  align-items: center;
}

body[data-page="home"] .badge {
  border-color: rgba(123, 198, 255, 0.35);
  background: rgba(35, 117, 190, 0.16);
  color: #bfe3ff;
}

body[data-page="home"] h1 {
  font-size: clamp(2.25rem, 4.4vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  max-width: 13.5ch;
}

body[data-page="home"] .lead {
  max-width: 45rem;
}

body[data-page="home"] .panel,
body[data-page="home"] .card,
body[data-page="home"] .cta-band {
  border-color: rgba(133, 152, 191, 0.26);
  background: linear-gradient(145deg, rgba(16, 24, 42, 0.86), rgba(10, 16, 30, 0.86));
  box-shadow: 0 28px 55px rgba(0, 0, 0, 0.35);
}

body[data-page="home"] .panel::before,
body[data-page="home"] .card::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(160deg, rgba(128, 203, 255, 0.18), rgba(128, 203, 255, 0));
}

body[data-page="home"] .panel,
body[data-page="home"] .card {
  position: relative;
  overflow: hidden;
}

.home-signal .stat-value {
  color: #a7dcff;
}

.home-signal {
  padding: 1.6rem;
}

.home-core-lines {
  display: grid;
  gap: 1.05rem;
  margin-top: 1.25rem;
}

.home-core-line {
  display: grid;
  gap: 0.34rem;
  padding: 0 0 1.05rem;
  border-bottom: 1px solid rgba(62, 86, 112, 0.14);
}

.home-core-line:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.home-core-line strong {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  color: #1d4ed8;
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  line-height: 1.12;
}

.home-core-logo {
  display: block;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 9px;
  object-fit: cover;
}

.home-core-line span {
  color: var(--muted);
  line-height: 1.68;
}

.home-note {
  margin-top: 0.85rem;
}

.home-hero-visual {
  margin-bottom: 1rem;
  border: 1px solid rgba(133, 152, 191, 0.28);
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(140deg, rgba(10, 18, 32, 0.92), rgba(8, 14, 27, 0.9));
  box-shadow: inset 0 0 0 1px rgba(165, 196, 255, 0.1), 0 18px 35px rgba(0, 0, 0, 0.35);
}

.home-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: 0.96;
  animation: heroFloat 8.4s ease-in-out infinite;
}

@keyframes heroFloat {
  0% {
    transform: scale(1) translateY(0);
  }

  50% {
    transform: scale(1.015) translateY(-6px);
  }

  100% {
    transform: scale(1) translateY(0);
  }
}

.home-nav-focus .section-head {
  margin-bottom: 0.9rem;
}

.home-link-card {
  min-height: 180px;
}

.home-link-card h3 {
  font-size: 1.3rem;
}

.home-link-card p {
  font-size: 0.95rem;
}

.home-smallclaw-focus .section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.68fr);
  gap: 2rem;
  align-items: end;
}

.home-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.home-link-list a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.62rem 0.86rem;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 999px;
  color: #173b76;
  background: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.home-link-list a:hover,
.home-link-list a:focus-visible {
  color: #f97316;
  background: #ffffff;
  outline: none;
}

.home-cta-band {
  background: linear-gradient(130deg, rgba(20, 47, 80, 0.8), rgba(16, 31, 52, 0.92));
}

body[data-page="home"] .site-footer {
  background: rgba(8, 13, 24, 0.9);
  border-top-color: rgba(133, 152, 191, 0.2);
}

body[data-page="home"] .lang-toggle {
  background: rgba(13, 20, 37, 0.9);
  color: #dbe7ff;
  border-color: rgba(133, 152, 191, 0.45);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

body[data-page="home"] .lang-toggle:hover {
  background: rgba(18, 27, 48, 0.95);
  color: #eef4ff;
  border-color: rgba(155, 181, 223, 0.58);
}

/* Align all non-home pages to the same cold palette as home */
body:not([data-page="home"]) {
  --bg: #060912;
  --bg-strong: #0a1020;
  --panel: rgba(14, 20, 36, 0.78);
  --ink: #eef4ff;
  --muted: #9eabc3;
  --line: rgba(133, 152, 191, 0.24);
  --brand: #57b6ff;
  --brand-deep: #8ed5ff;
  --accent: #94a3ff;
  background:
    radial-gradient(950px 460px at 92% -12%, rgba(58, 122, 255, 0.24) 0%, rgba(58, 122, 255, 0) 68%),
    radial-gradient(760px 420px at -10% 10%, rgba(57, 189, 255, 0.16) 0%, rgba(57, 189, 255, 0) 62%),
    linear-gradient(180deg, #04070f 0%, #080d1a 52%, #060912 100%);
}

body:not([data-page="home"]) .site-header {
  background: rgba(4, 9, 18, 0.62);
  border-bottom-color: rgba(133, 152, 191, 0.2);
}

body:not([data-page="home"]) .desktop-nav a {
  color: #a7b6d3;
}

body:not([data-page="home"]) .desktop-nav a:hover,
body:not([data-page="home"]) .desktop-nav a.active {
  color: #d8e9ff;
  border-color: #7cc8ff;
}

body:not([data-page="home"]) .btn-secondary,
body:not([data-page="home"]) .btn-link {
  background: rgba(13, 20, 37, 0.7);
  color: #dbe7ff;
  border-color: rgba(133, 152, 191, 0.35);
}

body:not([data-page="home"]) .btn-secondary:hover,
body:not([data-page="home"]) .btn-link:hover {
  background: rgba(18, 27, 48, 0.9);
}

body:not([data-page="home"]) .menu-toggle {
  background: rgba(13, 20, 37, 0.78);
  border-color: rgba(133, 152, 191, 0.35);
}

body:not([data-page="home"]) .menu-toggle span,
body:not([data-page="home"]) .menu-toggle span::before,
body:not([data-page="home"]) .menu-toggle span::after {
  background: #dbe7ff;
}

body:not([data-page="home"]) .mobile-panel a {
  background: rgba(13, 20, 37, 0.78);
  border-color: rgba(133, 152, 191, 0.3);
  color: #e2ecff;
}

body:not([data-page="home"]) .badge {
  border-color: rgba(123, 198, 255, 0.35);
  background: rgba(35, 117, 190, 0.16);
  color: #bfe3ff;
}

body:not([data-page="home"]) .kpi-item {
  border-bottom-color: rgba(133, 152, 191, 0.24);
}

body:not([data-page="home"]) .panel,
body:not([data-page="home"]) .card,
body:not([data-page="home"]) .cta-band {
  border-color: rgba(133, 152, 191, 0.26);
  background: linear-gradient(145deg, rgba(16, 24, 42, 0.86), rgba(10, 16, 30, 0.86));
  box-shadow: 0 28px 55px rgba(0, 0, 0, 0.35);
}

body:not([data-page="home"]) .panel,
body:not([data-page="home"]) .card {
  position: relative;
  overflow: hidden;
}

body:not([data-page="home"]) .panel::before,
body:not([data-page="home"]) .card::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(160deg, rgba(128, 203, 255, 0.18), rgba(128, 203, 255, 0));
}

body:not([data-page="home"]) .stat-value {
  color: #a7dcff;
}

body:not([data-page="home"]) .chip {
  color: #dbe7ff;
  border-color: rgba(133, 152, 191, 0.35);
  background: rgba(15, 24, 41, 0.75);
}

body:not([data-page="home"]) .metric {
  border-color: rgba(123, 198, 255, 0.3);
  background: linear-gradient(140deg, rgba(23, 52, 84, 0.55), rgba(14, 28, 48, 0.72));
}

body:not([data-page="home"]) .metric p {
  color: #b7c8e7;
}

body:not([data-page="home"]) .compare {
  border-color: rgba(133, 152, 191, 0.3);
  background: rgba(11, 18, 33, 0.78);
}

body:not([data-page="home"]) .compare th,
body:not([data-page="home"]) .compare td {
  border-bottom-color: rgba(133, 152, 191, 0.22);
}

body:not([data-page="home"]) .compare th {
  background: rgba(45, 118, 190, 0.2);
}

body:not([data-page="home"]) .callout {
  border-color: rgba(123, 198, 255, 0.28);
  background: linear-gradient(145deg, rgba(17, 41, 69, 0.8), rgba(10, 24, 43, 0.88));
}

body:not([data-page="home"]) .callout h3,
body:not([data-page="home"]) .callout p {
  color: #d3e6ff;
}

body:not([data-page="home"]) .cta-band p {
  color: #b7c8e7;
}

body:not([data-page="home"]) .site-footer {
  background: rgba(8, 13, 24, 0.9);
  border-top-color: rgba(133, 152, 191, 0.2);
}

body:not([data-page="home"]) .footer-links a {
  color: #9eabc3;
}

body:not([data-page="home"]) .footer-links a:hover {
  color: #dbe7ff;
}

body:not([data-page="home"]) .lang-toggle {
  background: rgba(13, 20, 37, 0.78);
  color: #dbe7ff;
  border-color: rgba(133, 152, 191, 0.35);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

/* Blog: keep brand, optimize readability */
body[data-page="blog"] {
  --bg: #070c18;
  --bg-strong: #0c1426;
  --panel: rgba(18, 26, 44, 0.8);
  --ink: #eef4ff;
  --muted: #a9b9d4;
  --line: rgba(133, 152, 191, 0.24);
  --brand: #66beff;
  --brand-deep: #9ad8ff;
  background:
    radial-gradient(920px 440px at 88% -12%, rgba(86, 153, 255, 0.2) 0%, rgba(86, 153, 255, 0) 68%),
    radial-gradient(680px 360px at -8% 12%, rgba(42, 176, 209, 0.12) 0%, rgba(42, 176, 209, 0) 62%),
    linear-gradient(180deg, #060a15 0%, #0a1120 54%, #070d18 100%);
}

body[data-page="blog"] .site-header {
  background: rgba(7, 13, 25, 0.72);
  border-bottom-color: rgba(133, 152, 191, 0.25);
}

body[data-page="blog"] .desktop-nav a {
  color: #b7c8e6;
}

body[data-page="blog"] .desktop-nav a:hover,
body[data-page="blog"] .desktop-nav a.active {
  color: #e8f2ff;
  border-color: #9ad8ff;
}

body[data-page="blog"] .btn-secondary,
body[data-page="blog"] .btn-link {
  background: rgba(17, 26, 43, 0.8);
  color: #dbe8ff;
  border-color: rgba(133, 152, 191, 0.4);
}

body[data-page="blog"] .btn-secondary:hover,
body[data-page="blog"] .btn-link:hover {
  background: rgba(22, 33, 54, 0.92);
}

body[data-page="blog"] .hero {
  padding: 5.1rem 0 1.9rem;
}

body[data-page="blog"] .badge {
  letter-spacing: 0.02em;
}

body[data-page="blog"] h1 {
  font-size: clamp(2.15rem, 5vw, 3.25rem);
  line-height: 1.08;
}

body[data-page="blog"] .lead {
  max-width: 72ch;
  line-height: 1.9;
}

.blog-hero-visual {
  margin-top: 1.15rem;
  border: 1px solid rgba(133, 152, 191, 0.35);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(12, 22, 40, 0.9), rgba(9, 18, 33, 0.95));
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.blog-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.blog-narrow {
  width: min(860px, calc(100% - 2.2rem));
  margin-inline: auto;
}

.blog-index-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1rem;
  align-items: start;
}

.blog-list {
  display: grid;
  gap: 0.95rem;
}

.blog-entry,
.blog-article-card,
.blog-side-card {
  border: 1px solid rgba(133, 152, 191, 0.28);
  border-radius: 18px;
  background: rgba(12, 19, 34, 0.8);
  padding: 1.18rem 1.26rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

body[data-page="blog"] .blog-entry::before,
body[data-page="blog"] .blog-article-card::before,
body[data-page="blog"] .blog-side-card::before {
  display: none;
}

.blog-entry h2 {
  margin: 0.58rem 0 0;
  font-size: clamp(1.32rem, 2.4vw, 1.64rem);
  line-height: 1.25;
}

.blog-entry h2 a {
  color: #e8f1ff;
  text-decoration: underline;
  text-decoration-color: rgba(167, 220, 255, 0.68);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.blog-entry h2 a:hover {
  color: #9fd3ff;
  text-decoration-color: #9fd3ff;
}

.blog-summary {
  margin: 0.7rem 0 0;
  color: #bccce8;
  line-height: 1.84;
  font-size: 0.99rem;
}

.blog-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.blog-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.23rem 0.58rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  border: 1px solid rgba(143, 177, 228, 0.34);
  background: rgba(20, 36, 62, 0.72);
  color: #cfe4ff;
}

.blog-meta {
  margin-top: 0.72rem;
  color: #97aacd;
  font-size: 0.82rem;
  line-height: 1.55;
}

.blog-link {
  color: #a7dcff;
  font-weight: 700;
  font-size: 0.86rem;
}

.blog-link:hover {
  color: #d4ecff;
}

.blog-side-card {
  position: sticky;
  top: 98px;
}

.blog-side-card h3 {
  margin: 0;
  font-size: 1.08rem;
}

.blog-side-card p {
  margin: 0.62rem 0 0;
  color: #b7c8e7;
  line-height: 1.76;
}

.blog-side-card .btn {
  margin-top: 0.88rem;
  width: 100%;
}

.blog-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1rem;
  align-items: start;
}

.blog-article-card {
  padding: 1.25rem 1.3rem;
}

.blog-article-card h2 {
  margin: 1.3rem 0 0.54rem;
  font-size: clamp(1.25rem, 2.3vw, 1.55rem);
}

.blog-article-card h3 {
  margin: 1rem 0 0.44rem;
  font-size: 1.06rem;
  color: #d8e7ff;
}

.blog-article-card p,
.blog-article-card li {
  color: #c3d2eb;
  line-height: 1.9;
  margin: 0.62rem 0 0;
}

.blog-article-card ul {
  margin: 0.5rem 0 0;
  padding-left: 1.15rem;
}

.blog-toc {
  margin-top: 0.3rem;
  border-top: 1px solid rgba(133, 152, 191, 0.26);
  padding-top: 0.74rem;
}

.blog-toc h3 {
  margin: 0;
  font-size: 0.98rem;
  color: #d8e7ff;
}

.blog-toc ul {
  margin: 0.54rem 0 0;
  padding-left: 1.02rem;
}

.blog-toc a {
  color: #9fd3ff;
  font-size: 0.9rem;
}

.blog-toc a:hover {
  color: #d6eeff;
}

body[data-page="blog"] .cta-band {
  border-color: rgba(133, 152, 191, 0.3);
  background: linear-gradient(132deg, rgba(21, 43, 72, 0.68), rgba(15, 30, 52, 0.86));
}

body[data-page="blog"] .cta-band p {
  color: #c2d2ec;
}

/* Bright business palette: AI Agent product energy with IdP trust signals */
body[data-page="home"],
body:not([data-page="home"]),
body[data-page="blog"] {
  --bg: #f7fbff;
  --bg-strong: #eaf2fb;
  --panel: rgba(255, 255, 255, 0.9);
  --ink: #102033;
  --muted: #5b6b7f;
  --line: rgba(62, 86, 112, 0.16);
  --brand: #2563eb;
  --brand-deep: #1d4ed8;
  --accent: #f97316;
  color: var(--ink);
  background:
    radial-gradient(980px 520px at 86% -12%, rgba(93, 188, 255, 0.26) 0%, rgba(93, 188, 255, 0) 66%),
    radial-gradient(760px 420px at -8% 8%, rgba(255, 151, 86, 0.16) 0%, rgba(255, 151, 86, 0) 62%),
    linear-gradient(180deg, #fbfdff 0%, #eef6ff 48%, #f7fbff 100%);
}

body[data-page="home"] .site-header,
body:not([data-page="home"]) .site-header,
body[data-page="blog"] .site-header {
  background: rgba(255, 255, 255, 0.78);
  border-bottom-color: rgba(62, 86, 112, 0.14);
}

body[data-page="home"] .desktop-nav a,
body:not([data-page="home"]) .desktop-nav a,
body[data-page="blog"] .desktop-nav a {
  color: #5c6f86;
}

body[data-page="home"] .desktop-nav a:hover,
body[data-page="home"] .desktop-nav a.active,
body:not([data-page="home"]) .desktop-nav a:hover,
body:not([data-page="home"]) .desktop-nav a.active,
body[data-page="blog"] .desktop-nav a:hover,
body[data-page="blog"] .desktop-nav a.active {
  color: #173b76;
  border-color: #2563eb;
}

body[data-page="home"] .btn-primary,
body:not([data-page="home"]) .btn-primary,
body[data-page="blog"] .btn-primary {
  background: linear-gradient(120deg, #2563eb, #f97316);
  color: #fff;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.22), 0 10px 24px rgba(249, 115, 22, 0.16);
}

body[data-page="home"] .btn-secondary,
body[data-page="home"] .btn-link,
body:not([data-page="home"]) .btn-secondary,
body:not([data-page="home"]) .btn-link,
body[data-page="blog"] .btn-secondary,
body[data-page="blog"] .btn-link {
  background: rgba(255, 255, 255, 0.8);
  color: #173b76;
  border-color: rgba(37, 99, 235, 0.18);
}

body[data-page="home"] .btn-secondary:hover,
body[data-page="home"] .btn-link:hover,
body:not([data-page="home"]) .btn-secondary:hover,
body:not([data-page="home"]) .btn-link:hover,
body[data-page="blog"] .btn-secondary:hover,
body[data-page="blog"] .btn-link:hover {
  background: #ffffff;
  color: #102033;
}

body:not([data-page="home"]) .menu-toggle,
body[data-page="home"] .menu-toggle,
body[data-page="blog"] .menu-toggle {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(37, 99, 235, 0.2);
}

body:not([data-page="home"]) .menu-toggle span,
body:not([data-page="home"]) .menu-toggle span::before,
body:not([data-page="home"]) .menu-toggle span::after,
body[data-page="home"] .menu-toggle span,
body[data-page="home"] .menu-toggle span::before,
body[data-page="home"] .menu-toggle span::after,
body[data-page="blog"] .menu-toggle span,
body[data-page="blog"] .menu-toggle span::before,
body[data-page="blog"] .menu-toggle span::after {
  background: #173b76;
}

body:not([data-page="home"]) .mobile-panel a,
body[data-page="home"] .mobile-panel a,
body[data-page="blog"] .mobile-panel a {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(62, 86, 112, 0.14);
  color: #173b76;
}

body[data-page="home"] .badge,
body:not([data-page="home"]) .badge,
body[data-page="blog"] .badge {
  border-color: rgba(37, 99, 235, 0.2);
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
}

body[data-page="home"] .panel,
body[data-page="home"] .card,
body[data-page="home"] .cta-band,
body:not([data-page="home"]) .panel,
body:not([data-page="home"]) .card,
body:not([data-page="home"]) .cta-band,
body[data-page="blog"] .panel,
body[data-page="blog"] .card,
body[data-page="blog"] .cta-band {
  border-color: rgba(62, 86, 112, 0.14);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(245, 250, 255, 0.88));
  box-shadow: 0 18px 44px rgba(37, 68, 112, 0.1);
}

body[data-page="home"] .panel::before,
body[data-page="home"] .card::before,
body:not([data-page="home"]) .panel::before,
body:not([data-page="home"]) .card::before,
body[data-page="blog"] .blog-entry::before,
body[data-page="blog"] .blog-article-card::before,
body[data-page="blog"] .blog-side-card::before {
  display: none;
}

body[data-page="home"] .home-signal .stat-value,
body:not([data-page="home"]) .stat-value,
body[data-page="blog"] .stat-value {
  color: #1d4ed8;
}

body:not([data-page="home"]) .kpi-item,
body[data-page="home"] .kpi-item,
body[data-page="blog"] .kpi-item {
  border-bottom-color: rgba(62, 86, 112, 0.14);
}

body[data-page="home"] .lead,
body:not([data-page="home"]) .lead,
body[data-page="blog"] .lead,
body[data-page="home"] .card p,
body:not([data-page="home"]) .card p,
body[data-page="blog"] .card p,
body:not([data-page="home"]) .cta-band p,
body[data-page="blog"] .cta-band p {
  color: #5b6b7f;
}

.home-hero-visual,
.blog-hero-visual {
  border-color: rgba(62, 86, 112, 0.16);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.9), rgba(235, 244, 255, 0.9));
  box-shadow: 0 18px 38px rgba(37, 68, 112, 0.11);
}

.home-smallclaw-title-link {
  border-color: rgba(249, 115, 22, 0.38);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 237, 213, 0.96));
  color: #14315f;
  box-shadow: 0 18px 40px rgba(249, 115, 22, 0.18);
}

.home-smallclaw-product {
  background: #2563eb;
  color: #ffffff;
}

.smallclaw-promo-label,
.blog-meta {
  color: #64748b;
}

.smallclaw-promo h3 {
  color: #173b76;
}

.smallclaw-promo p {
  color: #52657c;
}

.smallclaw-promo-link,
.blog-link,
.blog-toc a {
  color: #2563eb;
}

.smallclaw-promo-link:hover,
.blog-link:hover,
.blog-toc a:hover {
  color: #f97316;
}

body:not([data-page="home"]) .chip,
body[data-page="blog"] .blog-tag {
  color: #173b76;
  border-color: rgba(37, 99, 235, 0.18);
  background: rgba(37, 99, 235, 0.08);
}

body:not([data-page="home"]) .metric {
  border-color: rgba(37, 99, 235, 0.16);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.9), rgba(235, 244, 255, 0.86));
}

body:not([data-page="home"]) .metric p {
  color: #5b6b7f;
}

body:not([data-page="home"]) .compare {
  border-color: rgba(62, 86, 112, 0.16);
  background: rgba(255, 255, 255, 0.82);
}

body:not([data-page="home"]) .compare th,
body:not([data-page="home"]) .compare td {
  border-bottom-color: rgba(62, 86, 112, 0.14);
}

body:not([data-page="home"]) .compare th {
  background: rgba(37, 99, 235, 0.08);
}

body:not([data-page="home"]) .callout {
  border-color: rgba(37, 99, 235, 0.16);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(239, 246, 255, 0.9));
}

body:not([data-page="home"]) .callout h3,
body:not([data-page="home"]) .callout p {
  color: #173b76;
}

body[data-page="home"] .site-footer,
body:not([data-page="home"]) .site-footer,
body[data-page="blog"] .site-footer {
  background: rgba(255, 255, 255, 0.76);
  border-top-color: rgba(62, 86, 112, 0.14);
}

body:not([data-page="home"]) .footer-links a,
body[data-page="blog"] .footer-links a {
  color: #5b6b7f;
}

body:not([data-page="home"]) .footer-links a:hover,
body[data-page="blog"] .footer-links a:hover {
  color: #173b76;
}

body[data-page="home"] .lang-toggle,
body:not([data-page="home"]) .lang-toggle,
body[data-page="blog"] .lang-toggle {
  background: rgba(255, 255, 255, 0.9);
  color: #173b76;
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: 0 10px 24px rgba(37, 68, 112, 0.12);
}

.blog-entry,
.blog-article-card,
.blog-side-card {
  border-color: rgba(62, 86, 112, 0.14);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 36px rgba(37, 68, 112, 0.1);
}

.blog-entry h2 a {
  color: #173b76;
  text-decoration-color: rgba(37, 99, 235, 0.32);
}

.blog-entry h2 a:hover {
  color: #f97316;
  text-decoration-color: rgba(249, 115, 22, 0.62);
}

.blog-summary,
.blog-side-card p,
.blog-article-card p,
.blog-article-card li {
  color: #5b6b7f;
}

.blog-side-card h3,
.blog-article-card h3,
.blog-toc h3 {
  color: #173b76;
}

.blog-toc {
  border-top-color: rgba(62, 86, 112, 0.14);
}

@media (max-width: 1050px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-grid,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-shell {
    grid-template-columns: 1fr;
  }

  .blog-index-layout,
  .blog-article-layout {
    grid-template-columns: 1fr;
  }

  .blog-side-card {
    position: static;
    top: auto;
  }
}

@media (max-width: 760px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .hero {
    padding-top: 3.3rem;
  }

  body[data-page="home"] .hero {
    padding-top: 6.2rem;
  }

  .home-smallclaw-title-link {
    top: 1rem;
    left: 0.75rem;
    right: 0.75rem;
    width: auto;
    max-width: none;
    justify-content: center;
    overflow: hidden;
    padding: 0.54rem 0.66rem;
  }

  .home-smallclaw-row {
    width: 100%;
    justify-content: center;
    gap: 0.38rem;
  }

  .home-smallclaw-new {
    padding: 0.1rem 0.34rem;
    font-size: 0.62rem;
  }

  .home-smallclaw-title {
    font-size: clamp(1rem, 5vw, 1.28rem);
  }

  .home-smallclaw-product {
    display: none;
  }

  .container {
    width: min(1120px, calc(100% - 1.2rem));
    max-width: calc(100vw - 1.2rem);
  }

  .hero-grid,
  .home-hero-shell,
  .grid-2,
  .grid-3,
  .grid-4,
  .panel,
  .card,
  .cta-band,
  .lead,
  .hero h1,
  body[data-page="home"] h1 {
    min-width: 0;
    max-width: 100%;
  }

  body[data-page="home"] .home-hero-shell > .reveal:first-child,
  body[data-page="home"] h1,
  body[data-page="home"] .lead {
    width: min(100%, 360px);
  }

  .home-smallclaw-focus .section-head {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .home-link-list {
    display: grid;
  }

  .home-link-list a {
    border-radius: 14px;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 2.1rem 0;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .kpi-item {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .smallclaw-promo {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .smallclaw-promo-icon {
    width: 152px;
    height: 152px;
  }

  .legacy-content iframe {
    min-height: 220px;
  }

  .blog-narrow {
    width: min(860px, calc(100% - 1.2rem));
  }

  .blog-entry,
  .blog-article-card,
  .blog-side-card {
    padding: 1rem 0.95rem;
  }
}

/* SmallClaw-aligned warm theme for the main Smallsoft site */
body[data-page],
body[data-page="home"],
body:not([data-page="home"]),
body[data-page="blog"] {
  --bg: #f6f1e8;
  --bg-strong: #efe7d8;
  --panel: rgba(255, 252, 247, 0.92);
  --ink: #1b2320;
  --muted: #67746d;
  --line: rgba(27, 35, 32, 0.1);
  --brand: #2563eb;
  --brand-deep: #1d4ed8;
  --accent: #ea580c;
  --shadow: 0 28px 60px rgba(27, 35, 32, 0.08);
  color: var(--ink);
  background:
    radial-gradient(900px 520px at 100% 0%, rgba(83, 142, 124, 0.08) 0%, rgba(83, 142, 124, 0) 62%),
    radial-gradient(780px 460px at 0% 10%, rgba(190, 151, 87, 0.08) 0%, rgba(190, 151, 87, 0) 60%),
    linear-gradient(180deg, #f8f4ec 0%, #f6f1e8 100%);
}

body[data-page] .site-header,
body[data-page="home"] .site-header,
body:not([data-page="home"]) .site-header,
body[data-page="blog"] .site-header {
  background: rgba(255, 252, 247, 0.82);
  border-bottom-color: rgba(27, 35, 32, 0.1);
}

body[data-page] .brand-logo {
  border-color: rgba(27, 35, 32, 0.1);
  box-shadow: 0 10px 22px rgba(27, 35, 32, 0.1);
}

body[data-page] .desktop-nav a,
body[data-page="home"] .desktop-nav a,
body:not([data-page="home"]) .desktop-nav a,
body[data-page="blog"] .desktop-nav a {
  color: #67746d;
}

body[data-page] .desktop-nav a:hover,
body[data-page] .desktop-nav a.active,
body[data-page="home"] .desktop-nav a:hover,
body[data-page="home"] .desktop-nav a.active,
body:not([data-page="home"]) .desktop-nav a:hover,
body:not([data-page="home"]) .desktop-nav a.active,
body[data-page="blog"] .desktop-nav a:hover,
body[data-page="blog"] .desktop-nav a.active {
  color: #17221e;
  border-color: #2563eb;
}

body[data-page] .btn-primary,
body[data-page="home"] .btn-primary,
body:not([data-page="home"]) .btn-primary,
body[data-page="blog"] .btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #ff6a2a 100%);
  color: #fffaf4;
  box-shadow: 0 16px 34px rgba(255, 106, 42, 0.24), 0 10px 24px rgba(37, 99, 235, 0.16);
}

body[data-page] .header-cta .btn-primary,
body[data-page="home"] .header-cta .btn-primary,
body:not([data-page="home"]) .header-cta .btn-primary,
body[data-page="blog"] .header-cta .btn-primary {
  background: rgba(255, 252, 247, 0.72);
  color: #245a52;
  border-color: rgba(36, 90, 82, 0.18);
  box-shadow: 0 10px 24px rgba(27, 35, 32, 0.08);
}

body[data-page] .header-cta .btn-primary:hover,
body[data-page="home"] .header-cta .btn-primary:hover,
body:not([data-page="home"]) .header-cta .btn-primary:hover,
body[data-page="blog"] .header-cta .btn-primary:hover {
  background: rgba(255, 252, 247, 0.94);
  color: #17221e;
  border-color: rgba(36, 90, 82, 0.26);
  box-shadow: 0 14px 28px rgba(27, 35, 32, 0.1);
}

body[data-page] .btn-secondary,
body[data-page] .btn-link,
body[data-page="home"] .btn-secondary,
body[data-page="home"] .btn-link,
body:not([data-page="home"]) .btn-secondary,
body:not([data-page="home"]) .btn-link,
body[data-page="blog"] .btn-secondary,
body[data-page="blog"] .btn-link {
  background: rgba(255, 255, 255, 0.58);
  color: #1b2320;
  border-color: rgba(27, 35, 32, 0.1);
}

body[data-page] .btn-secondary:hover,
body[data-page] .btn-link:hover,
body[data-page="home"] .btn-secondary:hover,
body[data-page="home"] .btn-link:hover,
body:not([data-page="home"]) .btn-secondary:hover,
body:not([data-page="home"]) .btn-link:hover,
body[data-page="blog"] .btn-secondary:hover,
body[data-page="blog"] .btn-link:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #17221e;
}

body[data-page] h1,
body[data-page] h2,
body[data-page] h3,
body[data-page] h4,
body[data-page="home"] h1,
body[data-page="blog"] h1 {
  font-family: "Newsreader", Georgia, "Noto Sans SC", serif;
  letter-spacing: -0.02em;
}

body[data-page="home"] h1 {
  font-size: clamp(2.05rem, 3.8vw, 3.5rem);
  line-height: 1.08;
  max-width: 14.5ch;
}

body[data-page] .lead,
body[data-page="home"] .lead,
body:not([data-page="home"]) .lead,
body[data-page="blog"] .lead,
body[data-page] .card p,
body[data-page] .panel p,
body[data-page] .cta-band p,
body[data-page] .blog-summary,
body[data-page] .blog-side-card p,
body[data-page] .blog-article-card p,
body[data-page] .blog-article-card li {
  color: #67746d;
}

body[data-page] .badge,
body[data-page="home"] .badge,
body:not([data-page="home"]) .badge,
body[data-page="blog"] .badge {
  border-color: rgba(24, 182, 164, 0.24);
  background: rgba(24, 182, 164, 0.1);
  color: #14544c;
}

body[data-page] .panel,
body[data-page] .card,
body[data-page] .cta-band,
body[data-page] .blog-entry,
body[data-page] .blog-article-card,
body[data-page] .blog-side-card,
body[data-page="home"] .panel,
body[data-page="home"] .card,
body[data-page="home"] .cta-band,
body:not([data-page="home"]) .panel,
body:not([data-page="home"]) .card,
body:not([data-page="home"]) .cta-band,
body[data-page="blog"] .panel,
body[data-page="blog"] .card,
body[data-page="blog"] .cta-band {
  border-color: rgba(27, 35, 32, 0.1);
  background: rgba(255, 252, 247, 0.92);
  box-shadow: 0 28px 60px rgba(27, 35, 32, 0.08);
}

body[data-page] .panel::before,
body[data-page] .card::before,
body[data-page="home"] .panel::before,
body[data-page="home"] .card::before,
body:not([data-page="home"]) .panel::before,
body:not([data-page="home"]) .card::before {
  display: none;
}

body[data-page] .stat-value,
body[data-page="home"] .home-signal .stat-value,
body:not([data-page="home"]) .stat-value {
  color: #2563eb;
}

body[data-page] .kpi-item {
  border-bottom-color: rgba(27, 35, 32, 0.1);
}

body[data-page] .home-core-line {
  border-bottom-color: rgba(27, 35, 32, 0.1);
}

body[data-page] .home-core-line strong,
body[data-page] .smallclaw-promo h3,
body[data-page] .blog-entry h2 a,
body[data-page] .blog-side-card h3,
body[data-page] .blog-article-card h3,
body[data-page] .blog-toc h3 {
  color: #17221e;
}

body[data-page] .home-core-line span,
body[data-page] .smallclaw-promo p {
  color: #67746d;
}

body[data-page] .smallclaw-promo-label,
body[data-page] .blog-meta {
  color: #67746d;
}

body[data-page] .smallclaw-promo-link,
body[data-page] .blog-link,
body[data-page] .blog-toc a,
body[data-page] .home-link-list a {
  color: #2563eb;
}

body[data-page] .smallclaw-promo-link:hover,
body[data-page] .blog-link:hover,
body[data-page] .blog-toc a:hover,
body[data-page] .home-link-list a:hover {
  color: #ea580c;
}

body[data-page] .home-link-list a,
body[data-page] .mobile-panel a,
body[data-page] .chip,
body[data-page] .blog-tag {
  border-color: rgba(27, 35, 32, 0.1);
  background: rgba(255, 255, 255, 0.56);
}

body[data-page] .compare,
body[data-page] .metric,
body[data-page] .callout,
body[data-page] .home-hero-visual,
body[data-page] .blog-hero-visual {
  border-color: rgba(27, 35, 32, 0.1);
  background: rgba(255, 252, 247, 0.86);
  box-shadow: 0 18px 42px rgba(27, 35, 32, 0.08);
}

body[data-page] .compare th {
  background: rgba(24, 182, 164, 0.1);
}

body[data-page] .compare th,
body[data-page] .compare td,
body[data-page] .blog-toc {
  border-bottom-color: rgba(27, 35, 32, 0.1);
}

body[data-page] .site-footer,
body[data-page="home"] .site-footer,
body:not([data-page="home"]) .site-footer,
body[data-page="blog"] .site-footer {
  background: rgba(255, 252, 247, 0.82);
  border-top-color: rgba(27, 35, 32, 0.1);
}

body[data-page] .footer-links a,
body:not([data-page="home"]) .footer-links a,
body[data-page="blog"] .footer-links a {
  color: #67746d;
}

body[data-page] .footer-links a:hover,
body:not([data-page="home"]) .footer-links a:hover,
body[data-page="blog"] .footer-links a:hover {
  color: #17221e;
}

body[data-page] .lang-toggle,
body[data-page="home"] .lang-toggle,
body:not([data-page="home"]) .lang-toggle,
body[data-page="blog"] .lang-toggle {
  background: rgba(255, 252, 247, 0.9);
  color: #17221e;
  border-color: rgba(27, 35, 32, 0.1);
  box-shadow: 0 10px 24px rgba(27, 35, 32, 0.1);
}

@media (max-width: 760px) {
  body[data-page="home"] h1 {
    font-size: clamp(2rem, 10vw, 2.55rem);
  }

  body[data-page="home"] .container {
    width: 100%;
    max-width: 100%;
    padding-inline: 1rem;
  }

  body[data-page="home"] .home-hero-shell,
  body[data-page="home"] .home-smallclaw-focus .section-head {
    display: block !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100%;
  }

  body[data-page="home"] .home-hero-shell > * {
    width: 100% !important;
    max-width: 100% !important;
  }

  body[data-page="home"] .home-signal,
  body[data-page="home"] .home-core-lines,
  body[data-page="home"] .home-core-line,
  body[data-page="home"] .home-core-line strong,
  body[data-page="home"] .home-core-line span,
  body[data-page="home"] .section-head,
  body[data-page="home"] .section-head h2,
  body[data-page="home"] .section-head p {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  body[data-page="home"] .lead,
  body[data-page="home"] .section-head p {
    max-width: none;
  }

  body[data-page="home"] .home-signal {
    width: calc(100vw - 2rem) !important;
    max-width: calc(100vw - 2rem) !important;
    margin-top: 2rem;
    overflow: visible;
    padding: 1.2rem;
  }

  body[data-page="home"] .home-smallclaw-focus .section-head,
  body[data-page="home"] .home-link-list,
  body[data-page="home"] .home-section-cta {
    width: calc(100vw - 2rem) !important;
    max-width: calc(100vw - 2rem) !important;
  }

  body[data-page="home"] .home-core-lines {
    display: block;
  }

  body[data-page="home"] .home-core-line {
    display: block;
    width: 100%;
  }

  body[data-page="home"] .home-core-line strong,
  body[data-page="home"] .home-core-line span {
    display: block;
    white-space: normal;
  }
}
