/* Shared Turtle landing design tokens — imported by Home, Liquidity, and Blog. */

:root {
  /* ===== Turtle color tokens — DARK (default) ===== */
  --surface-0: #141514;
  --surface-1: #191a19;
  --surface-hover: #222422;
  --surface-subtle: rgba(249, 249, 249, 0.02);
  --surface-subtle-3: rgba(249, 249, 249, 0.05);
  --fill: rgba(249, 249, 249, 0.05);
  --fill-hover: rgba(249, 249, 249, 0.15);
  --accent-faint: rgba(115, 243, 108, 0.04);
  --accent-subtle: rgba(115, 243, 108, 0.1);
  --ink-primary: #f9f9f9;
  --ink-secondary: rgba(255, 255, 255, 0.55);
  --ink-muted: rgba(249, 249, 249, 0.5);
  --ink-label: #c0c0c0;
  --ink-disabled: rgba(249, 249, 249, 0.3);
  --ink-inverse: #141514;
  --ink-faint: rgba(249, 249, 249, 0.1);
  --stroke-subtle: rgba(249, 249, 249, 0.06);
  --stroke-default: rgba(249, 249, 249, 0.1);
  --stroke-strong: rgba(249, 249, 249, 0.15);
  --stroke-control: rgba(249, 249, 249, 0.25);
  --stroke-accent: rgba(115, 243, 108, 0.1);
  --brand-primary: #73f36c;
  --brand-deep: #73f36c;
  --brand-soft: #aaf1d5;
  --blob-point: #2c2d2b;
  --blob-shimmer: #dfe6ee;
  --green-text: var(--brand-primary);
  --accent-blue: #627eea;
  --status-error: #ff0608;
  --status-warning: #f7931a;
  --status-success: #23c880;
  --grad-heading-from: #f9f9f9;
  --grad-heading-to: #a8aca7;
  --card-shadow: rgba(0, 0, 0, 0.25);

  --background: var(--surface-0);
  --foreground: var(--ink-primary);
  --site-header-height: 4.75rem;
  --z-mobile-nav: 2147483647;
  --section-intro-gap: clamp(10px, 1.2vw, 16px);
  --section-intro-copy-gap: clamp(8px, 0.8vw, 12px);
}

[data-theme="light"] {
  --surface-0: #fafafa;
  --surface-1: #fefefe;
  --surface-hover: #eff1ef;
  --surface-subtle: #f7f7f7;
  --surface-subtle-3: rgba(20, 21, 20, 0.06);
  --fill: rgba(20, 21, 20, 0.05);
  --fill-hover: rgba(20, 21, 20, 0.13);
  --accent-faint: rgba(20, 21, 20, 0.04);
  --accent-subtle: rgba(20, 21, 20, 0.07);
  --ink-primary: #141514;
  --ink-secondary: rgba(20, 21, 20, 0.7);
  --ink-muted: rgba(20, 21, 20, 0.62);
  --ink-label: #595959;
  --ink-disabled: rgba(20, 21, 20, 0.35);
  --ink-inverse: #f9f9f9;
  --ink-faint: rgba(20, 21, 20, 0.04);
  --stroke-subtle: rgba(20, 21, 20, 0.08);
  --stroke-default: rgba(20, 21, 20, 0.12);
  --stroke-strong: rgba(20, 21, 20, 0.16);
  --stroke-control: rgba(20, 21, 20, 0.25);
  --stroke-accent: rgba(0, 198, 29, 0.45);
  --brand-primary: #00c61d;
  --brand-deep: #008a15;
  --brand-soft: #0f766e;
  --blob-point: #aeb2ae;
  --blob-shimmer: #141514;
  --green-text: #008012;
  --accent-blue: #627eea;
  --grad-heading-from: #141514;
  --grad-heading-to: #70746f;
  --card-shadow: rgba(0, 0, 0, 0.08);
}

html {
  overflow-x: clip;
}

.home-v2,
.liquidity-portal,
.blog {
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: normal;
}

body {
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
}

.text-gradient-heading,
.text-gradient-heading-h {
  background-image: linear-gradient(
    90deg,
    var(--grad-heading-from) 0%,
    var(--grad-heading-to) 73.5%
  );
  background-repeat: no-repeat;
  background-origin: content-box;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.text-hero-title {
  font-size: clamp(1.8rem, 4.4vw, 3.9rem);
  line-height: 1.1;
  letter-spacing: 0.4px;
}

.text-hero-subtitle {
  font-size: clamp(0.9rem, 1.92vw, 1.875rem);
  line-height: 1.3;
}

.text-section-title {
  font-size: clamp(1.35rem, 2.3vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -0.8px;
}

.section-intro {
  gap: var(--section-intro-gap);
}

.section-intro__copy {
  gap: var(--section-intro-copy-gap);
}

.section-intro__cta {
  margin-top: clamp(14px, 1.4vw, 18px);
}

@media (max-width: 767px) {
  .section-intro__cta {
    align-self: center;
  }

  div.section-intro__cta {
    display: inline-flex;
    justify-content: center;
  }
}

.section-intro__copy p {
  font-size: clamp(0.9375rem, 1.2vw, 1.125rem);
  line-height: 1.4;
  color: var(--ink-muted);
}

/* Shared SiteHeader / SiteFooter / nav chrome — imported by landing routes. */

.site-footer {
  background: var(--surface-0);
  position: relative;
}

.footer-divider {
  width: 100%;
  height: 1px;
  border-top: 1px dashed var(--stroke-default);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.55s ease, transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1023px) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    will-change: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.mobile-nav-overlay {
  position: fixed;
  top: var(--site-header-height);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: var(--z-mobile-nav);
  animation: mobile-nav-overlay-in 0.22s ease-out;
}

.site-header :is(a, button),
.mobile-nav-overlay :is(a, button) {
  -webkit-tap-highlight-color: transparent;
}

.site-header :is(a, button):focus,
.mobile-nav-overlay :is(a, button):focus {
  outline: none;
  box-shadow: none;
}

@keyframes mobile-nav-overlay-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav-overlay {
    animation: none;
  }
}

.theme-toggle-icon-dark {
  display: contents;
}
.theme-toggle-icon-light {
  display: none;
}
[data-theme="light"] .theme-toggle-icon-dark {
  display: none;
}
[data-theme="light"] .theme-toggle-icon-light {
  display: contents;
}

/* Header stays pinned — hide/reveal removed to avoid logo flash on navigation. */

@supports (hanging-punctuation: first) and (font: -apple-system-body) {
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background-color: color-mix(in srgb, var(--surface-0) 94%, transparent);
  }
}

.footer-nav-col h3 {
  color: var(--ink-primary);
  font-size: clamp(12px, 1vw, 14px);
  line-height: 1.4;
  font-weight: 400;
  margin-bottom: clamp(12px, 1.2vw, 18px);
}

.footer-nav-col a {
  display: block;
  color: var(--ink-muted);
  font-size: clamp(11px, 0.9vw, 13px);
  line-height: 1.4;
  margin-bottom: clamp(8px, 1vw, 14px);
  transition: color 0.15s ease;
}

.footer-nav-col a:hover {
  color: var(--ink-primary);
}

.footer-wordmark-wrap {
  width: 100%;
}

.footer-wordmark-svg {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.footer-legal {
  color: var(--ink-muted);
  font-size: clamp(11px, 0.95vw, 12px);
  font-weight: 500;
  line-height: 1.2;
}

.footer-legal a {
  color: inherit;
  transition: color 0.15s ease;
}

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

.footer-socials {
  color: var(--ink-muted);
  font-size: clamp(11px, 0.95vw, 12px);
  font-weight: 500;
  line-height: 1.2;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  color: inherit;
  transition: color 0.15s ease;
}

.footer-socials a:hover {
  color: var(--brand-primary);
}

.footer-socials svg {
  flex-shrink: 0;
}

.footer-copyright {
  color: var(--ink-disabled);
  font-size: clamp(11px, 0.95vw, 12px);
  font-weight: 500;
  line-height: 1.2;
}

.glow-divider {
  position: relative;
  width: 100%;
  height: clamp(120px, 13vw, 192px);
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(
    62% 115% at 50% 100%,
    color-mix(in srgb, var(--brand-primary) 26%, transparent) 0%,
    color-mix(in srgb, var(--brand-primary) 10%, transparent) 48%,
    transparent 78%
  );
}

[data-theme="light"] .glow-divider {
  display: none;
}

