:root {
  --bg: #f8f4ed;
  --bg-soft: #efe7dc;
  --surface: rgba(255, 252, 248, 0.88);
  --surface-strong: rgba(255, 249, 242, 0.97);
  --surface-light: rgba(20, 31, 44, 0.065);
  --stroke: rgba(22, 32, 45, 0.12);
  --stroke-strong: rgba(22, 32, 45, 0.2);
  --text: #17202b;
  --muted: #4d5865;
  --accent: #c89b52;
  --accent-2: #2f7b7b;
  --accent-3: #d88462;
  --success: #19a26d;
  --shadow: 0 28px 64px rgba(83, 62, 37, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --shell: min(1320px, calc(100vw - 56px));
  --font-body: "Space Grotesk", "Segoe UI", sans-serif;
  --font-heading: "Syne", "Trebuchet MS", sans-serif;
  --ease-m: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background: linear-gradient(135deg, #fcf8f1 0%, #efe2d2 46%, #f7efe4 100%);
  overflow-x: hidden;
  isolation: isolate;
  transition:
    background 1.35s ease,
    background-color 1.35s ease,
    color 1.35s ease;
}

body[data-theme="dark"] {
  --bg: #0f151c;
  --bg-soft: #17202a;
  --surface: rgba(16, 24, 33, 0.82);
  --surface-strong: rgba(19, 28, 39, 0.94);
  --surface-light: rgba(255, 255, 255, 0.06);
  --stroke: rgba(219, 228, 239, 0.12);
  --stroke-strong: rgba(219, 228, 239, 0.22);
  --text: #edf2f7;
  --muted: #a6b4c2;
  --shadow: 0 28px 64px rgba(0, 0, 0, 0.34);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(23, 32, 43, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 32, 43, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black, transparent 82%);
  pointer-events: none;
  opacity: 0.14;
  transition:
    background-image 1.35s ease,
    opacity 1.35s ease;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at top left, rgba(47, 123, 123, 0.18), transparent 28%),
    radial-gradient(circle at bottom right, rgba(200, 155, 82, 0.16), transparent 24%),
    linear-gradient(135deg, #0c1218 0%, #121a22 46%, #0f151c 100%);
  transition: opacity 1.35s ease;
}

body[data-theme="dark"]::after {
  opacity: 1;
}

body,
body::before,
.glass-card,
.site-header,
.top-banner,
.menu-toggle,
.language-toggle,
.language-toggle::before,
.language-toggle__button,
.theme-toggle,
.theme-toggle::before,
.theme-toggle__icon,
.button,
.button--ghost,
.button--primary,
input,
select,
textarea,
code,
.footer-brand,
.footer-column,
.site-footer__grid,
.assistant-chat,
.assistant-chat__close,
.assistant-chat__message,
.assistant-chat__input,
.floating-actions__button,
.metric-card,
.privacy-toc,
.site-nav {
  transition:
    background 1.35s ease,
    background-color 1.35s ease,
    color 1.35s ease,
    border-color 1.35s ease,
    box-shadow 1.35s ease,
    opacity 1.35s ease,
    transform 0.32s var(--ease-m);
}

html.theme-transitioning body,
html.theme-transitioning body::before,
html.theme-transitioning body::after,
html.theme-transitioning *,
html.theme-transitioning *::before,
html.theme-transitioning *::after {
  transition-property: background, background-color, color, border-color, box-shadow, opacity, fill, stroke !important;
  transition-duration: 1.35s !important;
  transition-timing-function: ease !important;
}

@media (prefers-reduced-motion: reduce) {
  body,
  body::before,
  body::after,
  .glass-card,
  .site-header,
  .top-banner,
  .menu-toggle,
  .language-toggle,
  .language-toggle::before,
  .language-toggle__button,
  .theme-toggle,
  .theme-toggle::before,
  .theme-toggle__icon,
  .button,
  .button--ghost,
  .button--primary,
  input,
  select,
  textarea,
  code,
  .footer-brand,
  .footer-column,
  .site-footer__grid,
  .assistant-chat,
  .assistant-chat__close,
  .assistant-chat__message,
  .assistant-chat__input,
  .floating-actions__button,
  .metric-card,
  .privacy-toc,
  .site-nav {
    transition: none;
  }
}

body[data-theme="dark"]::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  opacity: 0.18;
}

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

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

code {
  padding: 0.15rem 0.4rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
}

button {
  cursor: pointer;
}

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

.page-noise {
  position: fixed;
  inset: 0;
  opacity: 0.05;
  pointer-events: none;
  contain: strict;
  background-image:
    radial-gradient(circle at 20% 20%, #101722 0 0.7px, transparent 0.8px),
    radial-gradient(circle at 80% 40%, #101722 0 0.6px, transparent 0.7px),
    radial-gradient(circle at 60% 80%, #101722 0 0.8px, transparent 0.9px);
  background-size: 140px 140px;
}

.cursor-glow {
  position: fixed;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 123, 123, 0.14), rgba(200, 155, 82, 0.12), transparent 72%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 1;
  transition: transform 120ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  contain: paint;
}

.lava-lamps {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  isolation: isolate;
  contain: layout paint;
  background:
    radial-gradient(circle at 20% 20%, rgba(47, 123, 123, 0.18), transparent 35%),
    radial-gradient(circle at 80% 80%, rgba(79, 127, 216, 0.14), transparent 35%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 244, 233, 0.4) 50%, rgba(255, 255, 255, 0.08) 100%);
}

.lava-lamps::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 248, 240, 0.2), transparent 72%);
  pointer-events: none;
}

body[data-theme="dark"] .page-noise {
  opacity: 0.08;
}

body[data-theme="dark"] .lava-lamps {
  background:
    radial-gradient(circle at 20% 20%, rgba(47, 123, 123, 0.16), transparent 35%),
    radial-gradient(circle at 80% 80%, rgba(79, 127, 216, 0.12), transparent 35%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(17, 24, 33, 0.28) 50%, rgba(255, 255, 255, 0.01) 100%);
}

body[data-theme="dark"] .lava-lamps::after {
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.04), transparent 72%);
}

body[data-theme="dark"] code,
body[data-theme="dark"] input,
body[data-theme="dark"] select,
body[data-theme="dark"] textarea {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-color: var(--stroke);
}

.lava-lamp {
  position: absolute;
  display: block;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  opacity: 0.64;
  filter: blur(32px);
  mix-blend-mode: multiply;
  will-change: transform;
  animation-name: lavaFloat;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

.lava-lamp--1 {
  background: #c89b52;
  left: 5%;
  top: 10%;
  animation-duration: 18s, 7s;
}

.lava-lamp--2 {
  background: #4f7fd8;
  right: 8%;
  top: 12%;
  animation-duration: 22s, 9s;
  animation-delay: -4s, -1s;
}

.lava-lamp--3 {
  background: #2f7b7b;
  left: 28%;
  bottom: 8%;
  animation-duration: 20s, 8s;
  animation-delay: -8s, -2s;
}

.lava-lamp--4 {
  background: #d88462;
  right: 16%;
  bottom: 12%;
  animation-duration: 24s, 10s;
  animation-delay: -12s, -4s;
}

.lava-lamp--5 {
  background: #e4bf82;
  left: 45%;
  top: 36%;
  animation-duration: 26s, 11s;
  animation-delay: -6s, -3s;
}

.lava-lamp--6 {
  background: #77b8a5;
  left: 18%;
  top: 58%;
  width: 260px;
  height: 260px;
  opacity: 0.46;
  animation-duration: 28s, 12s;
  animation-delay: -14s, -5s;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}

.glass-card {
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 238, 228, 0.98));
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  transition: transform 0.45s var(--ease-m), box-shadow 0.45s var(--ease-m);
}

body[data-theme="dark"] .glass-card {
  background: linear-gradient(180deg, rgba(19, 28, 39, 0.88), rgba(13, 20, 28, 0.96));
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.top-banner {
  position: relative;
  z-index: 5;
  padding: 12px 16px;
  text-align: center;
  font-size: 0.92rem;
  color: #6a4d1f;
  background: linear-gradient(90deg, rgba(200, 155, 82, 0.12), rgba(47, 123, 123, 0.08), rgba(216, 132, 98, 0.12));
  border-bottom: 1px solid rgba(22, 32, 45, 0.08);
}

body[data-theme="dark"] .top-banner {
  color: #f0cf96;
  background: linear-gradient(90deg, rgba(200, 155, 82, 0.16), rgba(47, 123, 123, 0.14), rgba(216, 132, 98, 0.14));
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(250, 245, 237, 0.94);
  border-bottom: 1px solid rgba(22, 32, 45, 0.1);
}

body[data-theme="dark"] .site-header {
  background: rgba(10, 15, 21, 0.82);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 62px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 420px;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 5px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 32px rgba(200, 155, 82, 0.18);
}

body[data-theme="dark"] .brand__mark {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand__text {
  display: grid;
  gap: 4px;
}

.brand__text strong {
  font-size: 0.92rem;
}

.brand__text small {
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.45;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.site-nav__link {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1;
  transition: color 0.3s ease, transform 0.4s var(--ease-m);
}

.site-nav__link:hover,
.site-nav__link.is-active {
  color: var(--text);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--stroke);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 6px auto;
  background: var(--text);
}

.language-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  width: 94px;
  min-height: 42px;
  padding: 5px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  overflow: hidden;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.language-toggle::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 40px;
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fffdf8, #eadfcd);
  box-shadow: 0 8px 18px rgba(83, 62, 37, 0.16);
  transition: transform 0.42s var(--ease-m), background 0.32s ease, box-shadow 0.32s ease;
}

.language-toggle[data-active-language="en"]::before {
  transform: translateX(44px);
}

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

.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  width: 70px;
  min-height: 42px;
  padding: 5px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
  overflow: hidden;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.theme-toggle::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fffdf8, #eadfcd);
  box-shadow: 0 8px 18px rgba(83, 62, 37, 0.16);
  transition: transform 0.42s var(--ease-m), background 0.32s ease, box-shadow 0.32s ease;
}

.theme-toggle:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.theme-toggle.is-dark {
  color: #fffdf8;
  background: linear-gradient(135deg, #223040, #2f7b7b);
}

.theme-toggle.is-dark::before {
  transform: translateX(28px);
  background: linear-gradient(135deg, #112033, #244b60);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.theme-toggle__icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  line-height: 1;
  transition: transform 0.42s var(--ease-m), opacity 0.25s ease, color 0.25s ease;
}

.theme-toggle__icon--sun {
  color: #7f6333;
  opacity: 1;
  transform: scale(1);
}

.theme-toggle__icon--moon {
  color: #35516d;
  opacity: 0.9;
  transform: scale(0.92);
}

.theme-toggle.is-dark .theme-toggle__icon--sun {
  color: rgba(255, 255, 255, 0.55);
  opacity: 0.65;
  transform: scale(0.9) rotate(-18deg);
}

.theme-toggle.is-dark .theme-toggle__icon--moon {
  color: #e8f2ff;
  opacity: 1;
  transform: scale(1.05) rotate(12deg);
}

.language-toggle__button {
  position: relative;
  z-index: 1;
  width: 42px;
  min-width: 42px;
  height: 30px;
  min-height: 30px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform 0.42s var(--ease-m), opacity 0.25s ease, color 0.25s ease;
}

.language-toggle__button.is-active {
  color: #17202b;
  opacity: 1;
  transform: scale(1);
}

.language-toggle__button:hover {
  color: var(--text);
}

.language-toggle__button:not(.is-active) {
  opacity: 0.72;
  transform: scale(0.92);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.4s var(--ease-m), box-shadow 0.4s var(--ease-m), border-color 0.3s ease, background 0.3s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--small {
  min-height: 42px;
  padding-inline: 16px;
  font-size: 0.92rem;
}

.button--primary {
  color: #fffdfa;
  background: linear-gradient(135deg, #213040, #28535b 60%, #2f7b7b);
  box-shadow: 0 18px 38px rgba(47, 123, 123, 0.18);
}

.button--primary:hover {
  filter: brightness(1.15);
}

.button--ghost {
  border-color: var(--stroke-strong);
  background: rgba(255, 255, 255, 0.76);
  color: var(--text);
}

body[data-theme="dark"] .language-toggle,
body[data-theme="dark"] .theme-toggle,
body[data-theme="dark"] .menu-toggle,
body[data-theme="dark"] .button--ghost {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  color: #edf2f7;
}

body[data-theme="dark"] .language-toggle,
body[data-theme="dark"] .theme-toggle,
body[data-theme="dark"] .menu-toggle {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  color: #edf2f7;
}

body[data-theme="dark"] .language-toggle::before {
  background: linear-gradient(135deg, #112033, #244b60);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

body[data-theme="dark"] .button--primary {
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

body[data-theme="dark"] .language-toggle__button {
  color: #dbe5ee;
}

body[data-theme="dark"] .language-toggle__button:hover {
  color: #ffffff;
}

body[data-theme="dark"] .language-toggle__button.is-active {
  color: #fffdf8;
  opacity: 1;
  transform: scale(1);
}

body[data-theme="dark"] .language-toggle__button:not(.is-active) {
  color: rgba(219, 229, 238, 0.72);
  opacity: 0.78;
  transform: scale(0.92);
}

.button--text {
  padding-inline: 0;
  min-height: auto;
  border-radius: 0;
  color: var(--accent-2);
  background: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  padding: 0 12px 0 8px;
  margin: 0 0 16px;
  border: 1px solid rgba(200, 155, 82, 0.18);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 237, 227, 0.96));
  box-shadow: 0 8px 18px rgba(200, 155, 82, 0.06);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #e0b676);
  box-shadow: 0 0 0 6px rgba(200, 155, 82, 0.08);
}

body[data-theme="dark"] .eyebrow {
  border-color: rgba(200, 155, 82, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

body[data-theme="dark"] .eyebrow::before {
  box-shadow: 0 0 0 6px rgba(200, 155, 82, 0.06);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 52px;
}

.section-heading h1,
.section-heading h2,
.hero h1,
.article-hero h1,
.footer-title,
.final-cta h2 {
  margin: 0;
  font-family: var(--font-heading);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.section-heading h1,
.hero h1,
.article-hero h1 {
  font-size: clamp(3.1rem, 8vw, 6.4rem);
}

.hero h1 {
  max-width: 11.5ch;
}

.section-heading h2 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  color: var(--text);
}

.footer-title {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  color: var(--accent);
}

.final-cta h2 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  color: var(--text);
}

.section-heading p,
.hero__description,
.contact-panel h3,
.contact-card p,
.article-section p,
.site-footer p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.03rem;
}

.section-heading .eyebrow {
  color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
  padding-top: 40px;
  padding-bottom: 44px;
}

.hero__content {
  display: grid;
  justify-items: center;
  padding: 28px 0 20px;
  max-width: 1040px;
  margin-inline: auto;
  text-align: center;
}

.hero .eyebrow {
  display: inline-block;
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  margin-bottom: 10px;
}

.hero .eyebrow::before {
  content: none;
}

.hero__description {
  max-width: 760px;
  margin: 16px auto 0;
  font-size: 1.12rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
}

.hero__chips,
.tag-row,
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__chips {
  justify-content: center;
  margin-top: 16px;
}

.chip,
.tag,
.badge,
.filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(23, 32, 43, 0.08);
  background: rgba(255, 255, 255, 0.62);
  color: #223040;
  font-size: 0.88rem;
}

.filter-chip {
  border: 0;
}

.filter-chip.is-active {
  color: #fffdf8;
  background: linear-gradient(135deg, #223040, #2f7b7b);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 24px auto 0;
  width: 100%;
  max-width: 980px;
}

.metric-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  min-height: 120px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(22, 32, 45, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 236, 226, 0.98));
  box-shadow: 0 18px 34px rgba(83, 62, 37, 0.1);
}

.metric-card__value {
  display: inline-flex;
  align-items: flex-end;
  gap: 10px;
  color: #1a2e3f;
}

.metric-card__value-number {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

.metric-card__value-suffix {
  display: inline-block;
  margin-bottom: 0.28rem;
  font-size: 0.84rem;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7d6644;
}

.metric-card__label {
  color: #44505d;
  line-height: 1.5;
  font-size: 0.96rem;
  max-width: 18ch;
}

body[data-theme="dark"] .metric-card {
  border-color: rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(18, 27, 37, 0.92), rgba(11, 18, 25, 0.97));
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}

body[data-theme="dark"] .metric-card__value {
  color: #edf2f7;
}

body[data-theme="dark"] .metric-card__value-suffix {
  color: #d4b27a;
}

body[data-theme="dark"] .metric-card__label {
  color: #c0ccd8;
}


.ticker-wrap {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 10px 0 0;
  contain: paint;
}

.ticker-track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding: 20px;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  backface-visibility: hidden;
  animation: marquee 26s linear infinite;
  animation-play-state: paused;
}

.ticker-wrap.is-running .ticker-track {
  animation-play-state: running;
}

.ticker-track span {
  min-width: max-content;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(23, 32, 43, 0.08);
  background: rgba(255, 255, 255, 0.56);
  color: #53606c;
}

.services-grid,
.projects-grid,
.testimonials-grid,
.pricing-grid,
.blog-grid,
.channels-grid {
  display: grid;
  gap: 20px;
}

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

.services-marquee {
  position: relative;
  overflow: hidden;
  padding: 8px 0;
  contain: paint;
  mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
  cursor: grab;
  user-select: none;
}

.services-track {
  display: flex;
  width: max-content;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  backface-visibility: hidden;
  pointer-events: none;
}

.services-marquee.is-dragging {
  cursor: grabbing;
}

.services-row {
  display: flex;
  gap: 20px;
  padding-right: 20px;
}

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

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

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

.service-card,
.project-card,
.testimonial-card,
.pricing-card,
.blog-card,
.channel-card,
.contact-card,
.process-step,
.article-section {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 32px;
}

.services-marquee .service-card {
  flex: 0 0 clamp(290px, 25vw, 360px);
  min-height: 100%;
}

.projects-grid,
.pricing-grid,
.blog-grid,
.faq-list,
.contact-layout,
.site-footer__grid {
  contain: paint;
}

.service-card__icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 20px;
  margin-bottom: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(247, 239, 227, 0.92)),
    linear-gradient(135deg, rgba(200, 155, 82, 0.16), rgba(47, 123, 123, 0.1));
  box-shadow:
    inset 0 0 0 1px rgba(23, 32, 43, 0.08),
    0 16px 24px rgba(200, 155, 82, 0.12);
}

.service-card__icon svg {
  width: 30px;
  height: 30px;
  stroke: #23434d;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card__icon--1 svg {
  stroke: #235a66;
}

.service-card__icon--2 svg {
  stroke: #315f76;
}

.service-card__icon--3 svg {
  stroke: #8c6530;
}

.service-card__icon--4 svg {
  stroke: #c07a4f;
}

.service-card__icon--5 svg {
  stroke: #2f7b7b;
}

.service-card__icon--6 svg {
  stroke: #59656f;
}

.service-card__icon--7 svg {
  stroke: #3d7181;
}

.service-card__icon--8 svg {
  stroke: #4d6f88;
}

.service-card h3,
.project-card h3,
.testimonial-card blockquote,
.pricing-card h3,
.blog-card h2,
.blog-card h3,
.process-step h3,
.article-section h2,
.contact-panel__kicker {
  margin: 0;
  font-family: var(--font-heading);
}

.service-card p,
.project-card p,
.pricing-card p,
.blog-card p,
.testimonial-card footer,
.channel-card span,
.contact-card span,
.contact-card a,
.process-step p {
  color: var(--muted);
  line-height: 1.7;
}

.service-card ul,
.pricing-card ul,
.article-section ul,
.editor-notes,
.pillars-list {
  margin: 20px 0 0;
  padding-left: 18px;
  color: var(--text);
  display: grid;
  gap: 12px;
}

.service-card ul {
  padding-left: 0;
  list-style: none;
}

.service-card li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-card__bullet-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(47, 123, 123, 0.1);
}

.service-card__bullet-icon svg {
  width: 12px;
  height: 12px;
  stroke: #2f7b7b;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 42px;
  align-items: start;
}

.section-heading--sticky {
  position: sticky;
  top: 120px;
}

.process-stack,
.faq-list,
.article-content {
  display: grid;
  gap: 24px;
}

.editor-notes li {
  color: var(--muted);
  line-height: 1.65;
}

.about-copy {
  display: grid;
  gap: 18px;
  margin-top: 22px;
  max-width: 920px;
}

.about-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.82;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.about-highlight {
  display: grid;
  gap: 10px;
  padding: 22px 24px;
}

.about-highlight strong {
  font-family: var(--font-heading);
  font-size: 1.02rem;
}

.about-highlight p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.about-body {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 46px;
  align-items: start;
}

.about-values {
  display: grid;
  align-content: start;
  gap: 16px;
}

.about-points {
  display: grid;
  gap: 14px;
  padding-left: 0;
  margin: 4px 0 0;
  list-style: none;
}

.about-points li {
  display: grid;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(22, 32, 45, 0.08);
}

.about-points strong {
  font-family: var(--font-heading);
  font-size: 1rem;
}

.about-points span {
  color: var(--muted);
  line-height: 1.72;
}

.process-list {
  display: grid;
  gap: 22px;
}

.process-list__heading {
  max-width: 580px;
}

.process-list__heading h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.process-line {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 0 0 22px;
  border-bottom: 1px solid rgba(22, 32, 45, 0.08);
}

.process-line:first-of-type {
  padding-top: 4px;
}

.process-line__index {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--accent);
}

.process-line__content {
  display: grid;
  gap: 8px;
}

.process-line__content h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.15rem;
}

.process-line__content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.project-card__eyebrow,
.pricing-card__name,
.footer-kicker {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.testimonial-card {
  display: grid;
  gap: 20px;
}

.testimonial-card blockquote {
  font-size: 1.3rem;
  line-height: 1.45;
}

.testimonial-card footer {
  display: grid;
  gap: 4px;
}

.section-note {
  display: inline-flex;
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(200, 155, 82, 0.12);
  color: #6a4d1f;
  border: 1px solid rgba(200, 155, 82, 0.18);
}

.pricing-card.is-featured {
  transform: translateY(-8px);
  border-color: rgba(200, 155, 82, 0.34);
  background:
    radial-gradient(circle at top right, rgba(200, 155, 82, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 242, 234, 0.98));
}

.pricing-card h3 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 8px 0 14px;
}

.faq-item {
  overflow: hidden;
}

.faq-section .section-heading {
  max-width: 760px;
}

.faq-section .faq-list {
  display: grid;
  align-items: start;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: none;
}

.faq-item__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 24px 26px;
  border: 0;
  color: var(--text);
  background: transparent;
  text-align: left;
  font-size: 1.02rem;
  font-weight: 700;
}

.faq-item__plus {
  font-size: 1.6rem;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.faq-item__content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}

.faq-item__content p {
  overflow: hidden;
  margin: 0;
  padding: 0 26px 0;
  color: var(--muted);
  line-height: 1.8;
}

.faq-item.is-open .faq-item__content {
  grid-template-rows: 1fr;
}

.faq-item.is-open .faq-item__content p {
  padding-bottom: 24px;
}

.faq-item.is-open .faq-item__plus {
  transform: rotate(45deg);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 420px);
  gap: 28px;
}

.contact-panel {
  padding: 40px;
}

.contact-panel__kicker {
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.contact-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.contact-shortcuts .button {
  flex: 1 1 180px;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.lead-form label {
  display: grid;
  gap: 10px;
}

.lead-form label span {
  color: var(--muted);
  font-size: 0.92rem;
}

.lead-form__full,
.lead-form__submit,
.form-status {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  padding: 15px 16px;
  color: var(--text);
  border: 1px solid rgba(22, 32, 45, 0.12);
  border-radius: 16px;
  outline: none;
  background: rgba(255, 255, 255, 0.72);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

select option {
  color: #17202b;
  background: #fffaf4;
}

body[data-theme="dark"] select {
  color-scheme: dark;
  background: rgba(255, 255, 255, 0.05);
}

body[data-theme="dark"] select option {
  color: #edf2f7;
  background: #16212c;
}

input:focus,
select:focus,
textarea:focus,
.button:focus-visible,
.site-nav__link:focus-visible,
.language-toggle__button:focus-visible,
.filter-chip:focus-visible {
  border-color: rgba(47, 123, 123, 0.55);
  box-shadow: 0 0 0 4px rgba(47, 123, 123, 0.12);
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-side {
  display: grid;
  gap: 18px;
}

.channel-card strong,
.contact-card strong {
  display: block;
  margin-bottom: 8px;
}

.section-actions {
  margin-top: 36px;
}

.blog-card__meta {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.blog-card.is-hidden {
  display: none;
}

.final-cta {
  padding: 56px;
  text-align: center;
  background:
    radial-gradient(circle at top right, rgba(200, 155, 82, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 239, 228, 0.98));
}

.site-footer {
  position: relative;
  z-index: 2;
  padding: 40px 0 32px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding: 42px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(22, 32, 45, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 235, 224, 0.98));
}

body[data-theme="dark"] .site-footer__grid {
  border-color: rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(18, 27, 37, 0.9), rgba(11, 18, 25, 0.97));
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.24);
}

.footer-brand {
  display: grid;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(22, 32, 45, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.34);
}

.footer-brand__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand__mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 5px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 28px rgba(200, 155, 82, 0.14);
}

body[data-theme="dark"] .footer-brand__mark {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

.footer-brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-brand__tagline {
  color: #394552;
  font-size: 0.84rem;
}

.footer-column h3 {
  margin: 0 0 14px;
  font-size: 0.95rem;
  color: #17202b;
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
}

.footer-column {
  padding: 18px 20px;
  border: 1px solid rgba(22, 32, 45, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.42);
}

.footer-links {
  display: grid;
  gap: 10px;
  color: #33404d;
}

.footer-links a {
  text-decoration: none;
  color: inherit;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-links span {
  color: #33404d;
}

.site-footer .footer-brand__tagline,
.site-footer .footer-note,
.site-footer .footer-links,
.site-footer .footer-links span,
.site-footer .footer-links a,
.site-footer .footer-legal-bar,
.site-footer .footer-legal-bar a {
  color: #33404d;
}

.site-footer .footer-column h3,
.site-footer .footer-kicker {
  color: #17202b;
}

.footer-links a:hover {
  color: var(--text);
  transform: translateX(2px);
}

body[data-theme="dark"] .site-footer,
body[data-theme="dark"] .footer-links,
body[data-theme="dark"] .footer-links span,
body[data-theme="dark"] .footer-brand__tagline,
body[data-theme="dark"] .footer-note {
  color: #c7d2dd;
}

body[data-theme="dark"] .footer-column h3,
body[data-theme="dark"] .footer-kicker,
body[data-theme="dark"] .footer-legal-bar,
body[data-theme="dark"] .footer-legal-bar a {
  color: var(--text);
}

body[data-theme="dark"] .footer-links a,
body[data-theme="dark"] .footer-links span {
  color: #d8e1ea;
}

body[data-theme="dark"] .footer-links a:hover {
  color: #ffffff;
}

body[data-theme="dark"] .footer-column,
body[data-theme="dark"] .footer-brand {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.footer-note {
  max-width: 320px;
  margin-top: 0;
  color: #394552;
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
}

.floating-actions__stack {
  position: relative;
  display: flex;
  justify-content: flex-end;
  z-index: 1;
}

.floating-actions__button {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: linear-gradient(135deg, #1f6b61, #35a079);
  color: #f7faf8;
  box-shadow: 0 22px 44px rgba(47, 123, 123, 0.2);
  text-decoration: none;
  transition:
    transform 0.25s var(--ease-m),
    box-shadow 0.25s var(--ease-m),
    border-color 0.25s ease;
}

.floating-actions__button[hidden] {
  display: none !important;
}

.floating-actions__button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 36px rgba(23, 32, 43, 0.22);
}

.floating-actions__button--assistant {
  background: linear-gradient(135deg, #15273c, #2b5f79);
}

body[data-theme="dark"] .floating-actions__button {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.34);
}

body[data-theme="dark"] .floating-actions__button--assistant {
  background: linear-gradient(135deg, #0f1a28, #24506a);
}

.floating-actions__button svg {
  width: 30px;
  height: 30px;
  display: block;
  fill: currentColor;
}

.floating-actions__button--assistant svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.assistant-chat {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: min(380px, calc(100vw - 32px));
  max-height: min(72vh, 620px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(22, 32, 45, 0.1);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(47, 123, 123, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 252, 247, 0.95), rgba(247, 241, 232, 0.98));
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 60px rgba(23, 32, 43, 0.16);
  opacity: 0;
  transform-origin: bottom right;
  transform: translateY(14px) scale(0.98);
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    transform 0.22s var(--ease-m);
}

body[data-theme="dark"] .assistant-chat {
  border-color: rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at top right, rgba(47, 123, 123, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(14, 21, 29, 0.96), rgba(10, 16, 23, 0.98));
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.38);
}

.assistant-chat.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.assistant-chat__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.assistant-chat__header-copy {
  display: grid;
  gap: 6px;
}

.assistant-chat__eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.assistant-chat__header-copy strong {
  font-family: var(--font-heading);
  font-size: 1.08rem;
}

.assistant-chat__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-2);
  font-size: 0.84rem;
}

.assistant-chat__status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 6px rgba(25, 162, 109, 0.12);
}

.assistant-chat__status.is-pending {
  color: #8c6530;
}

body[data-theme="dark"] .assistant-chat__status.is-pending {
  color: #d8b06d;
}

.assistant-chat__status.is-pending::before {
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(200, 155, 82, 0.14);
}

.assistant-chat__close {
  display: inline-grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.7);
}

body[data-theme="dark"] .assistant-chat__close {
  background: rgba(255, 255, 255, 0.06);
}

.assistant-chat__close span {
  font-size: 1.4rem;
  line-height: 1;
  transform: rotate(45deg);
}

.assistant-chat__messages {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 220px;
  max-height: min(40vh, 320px);
  overflow: auto;
  padding-right: 4px;
}

.assistant-chat__message {
  max-width: 88%;
  padding: 12px 14px;
  border-radius: 18px;
}

.assistant-chat__message p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.58;
  white-space: pre-wrap;
  word-break: break-word;
}

.assistant-chat__message a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.assistant-chat__message--assistant {
  justify-self: start;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(22, 32, 45, 0.08);
}

body[data-theme="dark"] .assistant-chat__message--assistant {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

.assistant-chat__message--user {
  justify-self: end;
  background: linear-gradient(135deg, #163742, #2f7b7b);
  color: #f7faf8;
}

body[data-theme="dark"] .assistant-chat__message--user {
  background: linear-gradient(135deg, #16303a, #255f5f);
}

.assistant-chat__message--typing {
  opacity: 0.76;
}

.assistant-chat__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.assistant-chat__input {
  margin: 0;
}

body[data-theme="dark"] .assistant-chat__input {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

.assistant-chat__links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.assistant-chat__links .button {
  justify-content: center;
  text-align: center;
}

.blog-hero,
.editor-hero,
.article-hero {
  padding-top: 70px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 24px;
}

.article-side {
  position: sticky;
  top: 120px;
  align-self: start;
}

.article-section h2 {
  font-size: clamp(1.6rem, 2vw, 2.2rem);
  margin-bottom: 14px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--accent-2);
}

.editor-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: 24px;
}

.editor-sidebar {
  display: grid;
  gap: 20px;
}

.editor-card {
  padding: 28px;
}

.editor-card h2 {
  margin: 0 0 20px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
}

.editor-card--wide {
  min-height: 740px;
}

.editor-form {
  display: grid;
  gap: 14px;
}

.editor-form label {
  display: grid;
  gap: 10px;
}

.editor-form span {
  color: var(--muted);
  font-size: 0.9rem;
}

.editor-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.editor-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.editor-json {
  min-height: 580px;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  line-height: 1.6;
}

.editor-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.filter-row {
  margin-top: 14px;
}

.contact-section .section-heading {
  max-width: 640px;
}

.noscript-warning {
  position: fixed;
  inset: 16px 16px auto;
  z-index: 50;
  padding: 16px;
  border-radius: 18px;
  color: #17202b;
  background: linear-gradient(135deg, #ead7b0, #dcefea);
  box-shadow: var(--shadow);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease-out, transform 0.8s var(--ease-m);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(83, 246, 173, 0.24);
  }

  50% {
    box-shadow: 0 0 0 12px rgba(83, 246, 173, 0);
  }
}

@keyframes lavaFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  25% {
    transform: translate3d(120px, -90px, 0) scale(1.18);
  }

  50% {
    transform: translate3d(-90px, 110px, 0) scale(0.9);
  }

  75% {
    transform: translate3d(130px, 80px, 0) scale(1.12);
  }

  100% {
    transform: translate3d(-120px, -80px, 0) scale(1.03);
  }
}


@media (max-width: 1120px) {
  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid var(--stroke);
    background: rgba(251, 246, 238, 0.96);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    transform: translateY(-8px) scale(0.985);
    transform-origin: top center;
    transition:
      opacity 0.24s ease,
      transform 0.32s var(--ease-m),
      max-height 0.32s ease,
      background 1.35s ease,
      background-color 1.35s ease,
      border-color 1.35s ease,
      box-shadow 1.35s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    max-height: 85vh;
    transform: translateY(0) scale(1);
  }

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

  .hero,
  .about-body,
  .split-layout,
  .contact-layout,
  .article-layout,
  .editor-layout,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

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

  .services-grid,
  .projects-grid,
  .testimonials-grid,
  .pricing-grid,
  .blog-grid,
  .channels-grid,
  .blog-grid--full,
  .metrics-grid,
  .faq-section .faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading--sticky,
  .article-side {
    position: static;
  }
}

@media (max-width: 760px) {
  body {
    transition:
      background 0.95s ease,
      background-color 0.95s ease,
      color 0.95s ease;
  }

  body::before {
    transition:
      background-image 0.95s ease,
      opacity 0.95s ease;
  }

  body::after {
    transition: opacity 0.95s ease;
  }

  html.theme-transitioning body,
  html.theme-transitioning body::before,
  html.theme-transitioning body::after,
  html.theme-transitioning *,
  html.theme-transitioning *::before,
  html.theme-transitioning *::after {
    transition-duration: 0.95s !important;
  }

  .section {
    padding: 52px 0;
  }

  .shell {
    width: min(calc(100vw - 24px), var(--shell));
  }

  .site-header {
    background: rgba(250, 245, 237, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  body[data-theme="dark"] .site-header {
    background: rgba(10, 15, 21, 0.92);
  }

  .site-header__inner {
    min-height: 72px;
    gap: 12px;
  }

  .brand {
    gap: 12px;
    min-width: 0;
  }

  .brand__mark {
    width: 46px;
    height: 46px;
    border-radius: 16px;
  }

  .brand__text strong {
    font-size: 0.92rem;
  }

  .brand__text small {
    display: none;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .site-nav {
    right: 12px;
    left: 12px;
    padding: 14px;
    gap: 6px;
    border-radius: 20px;
    box-shadow: 0 18px 38px rgba(15, 23, 34, 0.12);
    background: rgba(251, 246, 238, 0.98);
  }

  body[data-theme="dark"] .site-nav {
    background: rgba(16, 24, 33, 0.96);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.24);
  }

  .site-nav__link {
    display: block;
    padding: 12px 6px;
    border-radius: 0;
    background: transparent;
    border-bottom: 1px solid rgba(22, 32, 45, 0.08);
  }

  body[data-theme="dark"] .site-nav__link {
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  .site-nav .button--ghost {
    width: 100%;
    margin-top: 6px;
  }

  .site-nav .language-toggle,
  .site-nav .theme-toggle {
    align-self: flex-start;
    width: auto;
    min-height: 44px;
    margin-top: 6px;
  }

  .hero {
    padding-top: 28px;
  }

  .ticker-wrap,
  .services-marquee {
    mask-image: none;
  }

  .hero__content {
    justify-items: stretch;
    padding: 12px 0 8px;
    text-align: left;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.6rem, 13vw, 4rem);
  }

  .hero__description {
    margin-top: 14px;
    font-size: 1rem;
  }

  .hero__actions,
  .contact-shortcuts,
  .editor-links,
  .editor-toolbar__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .metrics-grid,
  .about-highlights,
  .services-grid,
  .projects-grid,
  .testimonials-grid,
  .pricing-grid,
  .blog-grid,
  .channels-grid,
  .blog-grid--full,
  .lead-form,
  .faq-section .faq-list {
    grid-template-columns: 1fr;
  }

  .hero__chips {
    justify-content: flex-start;
    gap: 8px;
  }

  .metrics-grid {
    gap: 12px;
    margin-top: 20px;
  }

  .metric-card {
    padding: 18px 16px;
    border-radius: 20px;
  }

  .contact-panel,
  .signal-card,
  .editor-card,
  .final-cta,
  .site-footer__grid {
    padding: 24px;
  }

  .contact-layout {
    gap: 20px;
  }

  .contact-shortcuts {
    margin-top: 20px;
    gap: 10px;
  }

  .contact-shortcuts .button {
    flex: 0 0 auto;
    width: 100%;
    min-height: 58px;
    border-radius: 24px;
  }

  .lead-form {
    gap: 14px;
  }

  .lead-form label {
    gap: 8px;
  }

  input,
  select,
  textarea {
    min-height: 54px;
    font-size: 16px;
  }

  textarea {
    min-height: 160px;
  }

  .channels-grid {
    gap: 14px;
  }

  .contact-card,
  .footer-brand,
  .footer-column {
    padding: 16px;
  }

  .site-footer {
    padding: 24px 0 28px;
  }

  .site-footer__grid {
    gap: 16px;
  }

  .process-line {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .floating-actions {
    right: 14px;
    left: 14px;
  }

  .assistant-chat {
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    max-height: calc(100vh - 88px);
    padding: 16px;
    border-radius: 22px 22px 0 0;
  }

  .assistant-chat__form,
  .assistant-chat__links {
    grid-template-columns: 1fr;
  }

  .floating-actions__button {
    width: 64px;
    height: 64px;
  }

  .lava-lamps {
    contain: strict;
  }

  .lava-lamp {
    filter: blur(38px);
    opacity: 0.58;
  }
}

.motion-lite .glass-card,
.motion-lite .site-header {
  backdrop-filter: none;
}

.motion-lite .ticker-track {
  animation-duration: 32s;
}

.motion-lite .lava-lamp {
  filter: blur(22px);
  opacity: 0.45;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ─── Footer legal bar ─────────────────────────────────────────── */

.footer-legal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  margin-top: 32px;
  border-top: 1px solid var(--stroke);
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-legal-bar a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-legal-bar a:hover {
  color: var(--accent-2);
}

/* ═══════════════════════════════════════════════════════════════════
   PRIVACY PAGE
   ══════════════════════════════════════════════════════════════════ */

.privacy-main {
  position: relative;
  z-index: 2;
  padding: 72px 0 120px;
}

/* Hero */
.privacy-hero {
  max-width: 860px;
  margin-bottom: 64px;
}

.privacy-hero h1 {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.privacy-updated {
  display: inline-block;
  margin: 0 0 20px;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-transform: uppercase;
}

.privacy-intro {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.04rem;
}

/* Layout */
.privacy-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}

/* Sidebar */
.privacy-sidebar {
  position: sticky;
  top: 108px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.privacy-toc {
  padding: 24px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255,255,255,0.8), rgba(248,242,234,0.9));
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(83,62,37,0.08);
}

body[data-theme="dark"] .privacy-toc {
  background: linear-gradient(180deg, rgba(18, 27, 37, 0.9), rgba(11, 18, 25, 0.96));
}

.privacy-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.privacy-toc__link {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.4;
  transition: background 0.2s ease, color 0.2s ease;
}

.privacy-toc__link:hover {
  background: rgba(47,123,123,0.08);
  color: var(--accent-2);
}

body[data-theme="dark"] .privacy-toc__link:hover {
  background: rgba(47, 123, 123, 0.18);
}

.privacy-back {
  align-self: flex-start;
}

/* Content card */
.privacy-content {
  padding: 52px 56px;
}

/* Sections */
.privacy-section {
  padding-bottom: 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--stroke);
  scroll-margin-top: 110px;
}

.privacy-section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.privacy-section__title {
  margin: 0 0 20px;
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  letter-spacing: -0.02em;
  color: var(--text);
}

.privacy-section p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.78;
  font-size: 1rem;
}

.privacy-section p:last-child {
  margin-bottom: 0;
}

.privacy-list {
  margin: 12px 0 16px;
  padding: 0 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 1rem;
}

.privacy-list li::marker {
  color: var(--accent);
}

/* Responsive */
@media (max-width: 900px) {
  .privacy-layout {
    grid-template-columns: 1fr;
  }

  .privacy-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .privacy-toc {
    flex: 1 1 100%;
  }

  .privacy-content {
    padding: 36px 28px;
  }
}

@media (max-width: 600px) {
  .privacy-hero h1 {
    font-size: 2.2rem;
  }

  .privacy-content {
    padding: 24px 20px;
  }
}
