

@font-face {
  font-family: 'Jacobs';
  src: url('fonts/jacobs-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Jacobs';
  src: url('fonts/jacobs-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Jacobs';
  src: url('fonts/jacobs-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Jacobs';
  src: url('fonts/jacobs-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Unbounded';
  src: url('fonts/unbounded-latin.woff2') format('woff2'),
       url('fonts/unbounded-cyrillic.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root, [data-theme="dark"] {
  --bg-page: #141414;
  --bg-surface: #171717;
  --bg-surface-elevated: #1a1a1a;
  --bg-card: #181818;
  --bg-card-hover: #1f1f1f;
  --bg-badge: rgba(255, 255, 255, 0.05);
  --bg-tag-accent: rgba(250, 160, 160, 0.1);

  --accent: #faa0a0;
  --accent-rgb: 250, 160, 160;
  --accent-hover: #ffb8b8;
  --accent-contrast: #141414;
  --star-fill: #ffffff;

  --fg-primary: #ffffff;
  --fg-secondary: rgba(255, 255, 255, 0.78);
  --fg-tertiary: rgba(255, 255, 255, 0.45);
  --fg-muted: rgba(255, 255, 255, 0.3);

  --border-dotted: rgba(255, 255, 255, 0.16);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(250, 160, 160, 0.5);
  --border-accent-subtle: rgba(250, 160, 160, 0.25);

  --dot-color: rgba(255, 255, 255, 0.07);
  --grid-line-color: rgba(128, 128, 128, 0.08);
  --radial-dot-color: #1a1a1a;
  --glow-color: rgba(250, 160, 160, 0.18);
  --glow-card: 0 0 35px rgba(250, 160, 160, 0.08);

  --status-good: #34d399;
  --status-good-bg: rgba(52, 211, 153, 0.1);
  --status-bad: #f87171;
  --status-bad-bg: rgba(248, 113, 113, 0.1);

  --nav-backdrop: rgba(20, 20, 20, 0.75);
  --shadow-popup: 0 20px 40px rgba(0, 0, 0, 0.6);

  --font-main: 'Jacobs', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-brand: 'Unbounded', sans-serif;
  --font-accent: 'Raleway', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  color-scheme: dark;
}

[data-theme="light"] {
  --bg-page: #cddbe9;
  --bg-surface: #d8e4f0;
  --bg-surface-elevated: #ffffff;
  --bg-card: #e5edf5;
  --bg-card-hover: #ffffff;
  --bg-badge: rgba(18, 26, 36, 0.06);
  --bg-tag-accent: rgba(239, 115, 175, 0.12);

  --accent: #ef73af;
  --accent-rgb: 239, 115, 175;
  --accent-hover: #f78bbd;
  --accent-contrast: #ffffff;
  --star-fill: #192738;

  --fg-primary: #111a24;
  --fg-secondary: rgba(17, 26, 36, 0.8);
  --fg-tertiary: rgba(17, 26, 36, 0.52);
  --fg-muted: rgba(17, 26, 36, 0.35);

  --border-dotted: rgba(17, 26, 36, 0.18);
  --border-subtle: rgba(17, 26, 36, 0.09);
  --border-accent: rgba(239, 115, 175, 0.5);
  --border-accent-subtle: rgba(239, 115, 175, 0.28);

  --dot-color: rgba(17, 26, 36, 0.08);
  --grid-line-color: rgba(17, 26, 36, 0.06);
  --radial-dot-color: #bcccdc;
  --glow-color: rgba(239, 115, 175, 0.2);
  --glow-card: 0 0 32px rgba(239, 115, 175, 0.14);

  --status-good: #16a34a;
  --status-good-bg: rgba(22, 163, 74, 0.12);
  --status-bad: #dc2626;
  --status-bad-bg: rgba(220, 38, 38, 0.12);

  --nav-backdrop: rgba(205, 219, 233, 0.85);
  --shadow-popup: 0 16px 36px rgba(35, 55, 80, 0.15);

  color-scheme: light;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-page);
  color: var(--fg-primary);
  font-family: var(--font-main);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.35s cubic-bezier(0.215, 0.61, 0.355, 1),
              color 0.35s cubic-bezier(0.215, 0.61, 0.355, 1);
}

::selection {
  background: rgba(var(--accent-rgb), 0.28);
  color: var(--fg-primary);
}

.bg-grid-linear {
  display: none;
}

.ambient-flare {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1000px, 100%);
  max-width: 100vw;
  height: 580px;
  background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

.header-top-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 140px;
  background-color: var(--bg-page);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
  z-index: 100;
}

.site-header {
  position: static;
  z-index: 150;
}

.header-logo-desktop {
  position: fixed;
  top: 48px;
  left: max(32px, calc(50vw - 580px + 32px));
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--fg-primary);
  z-index: 150;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.header-logo-desktop:hover {
  transform: scale(1.04);
}

.header-logo-mobile {
  display: none;
  position: fixed;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--fg-primary);
  z-index: 150;
  transition: transform 0.25s ease;
}

.brand-logo-svg {
  width: 26px;
  height: 26px;
  display: block;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
  filter: drop-shadow(0 2px 8px var(--glow-color));
}

.brand-logo-svg .logo-accent-path {
  fill: var(--accent);
  transition: fill 0.3s ease;
}

.brand-logo-svg .logo-star-path {
  fill: var(--star-fill);
  transition: fill 0.3s ease;
}

.brand-name {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--fg-primary);
  transition: color 0.3s ease;
}

.brand-dot {
  color: var(--accent);
  transition: color 0.3s ease;
}

.header-nav-desktop {
  position: fixed;
  top: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 28px;
  z-index: 150;
  white-space: nowrap;
  flex-wrap: nowrap;
}

.nav-item-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--fg-secondary);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  padding: 4px 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-item-btn .nav-icon {
  width: 16px;
  height: 16px;
  opacity: 0.75;
  color: var(--fg-tertiary);
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  transition: transform 0.25s ease, opacity 0.25s ease, color 0.25s ease;
}

.nav-item-btn .nav-text {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  display: inline-block;
}

.nav-item-btn .nav-arrow {
  font-family: var(--font-mono);
  font-size: 12px;
  opacity: 0;
  transform: translateX(-8px);
  filter: blur(4px);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  color: var(--accent);
}

.nav-item-btn:hover {
  color: var(--fg-primary);
}

.nav-item-btn:hover .nav-text {
  text-decoration-style: dotted;
  text-decoration-color: var(--fg-secondary);
}

.nav-item-btn:hover .nav-icon {
  opacity: 1;
  color: var(--accent);
}

.nav-item-btn:hover .nav-arrow {
  opacity: 0.9;
  transform: translateX(0);
  filter: blur(0);
}

.header-menu-mobile-btn {
  display: none;
  position: fixed;
  top: 24px;
  left: 20px;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: var(--bg-badge);
  border: 1px solid var(--border-dotted);
  color: var(--fg-secondary);
  font-family: var(--font-mono);
  font-size: 13px;
  cursor: pointer;
  z-index: 150;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.25s ease;
}

.header-menu-mobile-btn:hover,
.header-menu-mobile-btn.active {
  border-color: var(--accent);
  color: var(--fg-primary);
  background: var(--bg-tag-accent);
}

.header-menu-mobile-btn .menu-icon {
  opacity: 0.8;
}

.header-actions-group {
  position: fixed;
  top: 48px;
  right: max(32px, calc(50vw - 580px + 32px));
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 150;
}

.btn-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background-color: var(--bg-badge);
  border: 1px solid var(--border-dotted);
  color: var(--fg-primary);
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.25s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.btn-theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px) rotate(15deg);
}

.btn-theme-toggle svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
}

.mobile-drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 160;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: min(320px, 86vw);
  height: 100vh;
  background-color: var(--bg-surface-elevated);
  border-right: 1px solid var(--border-dotted);
  padding: 24px 20px;
  z-index: 170;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(-105%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 12px 0 40px rgba(0, 0, 0, 0.6);
}

.mobile-nav-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-drawer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-drawer-close {
  background: var(--bg-badge);
  border: 1px solid var(--border-dotted);
  color: var(--fg-secondary);
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-drawer-close:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0 auto;
}

.nav-link-mobile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg-badge);
  border: 1px solid var(--border-subtle);
  color: var(--fg-primary);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 13px;
  transition: all 0.2s ease;
}

.nav-link-mobile .nav-icon {
  width: 16px;
  height: 16px;
  color: var(--accent);
  opacity: 0.85;
}

.nav-link-mobile .arrow {
  margin-left: auto;
  color: var(--accent);
  font-size: 12px;
  opacity: 0.6;
}

.nav-link-mobile:hover,
.nav-link-mobile:active {
  border-color: var(--accent);
  background: var(--bg-tag-accent);
}

.mobile-nav-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer .nav-link-mobile {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--fg-secondary);
  text-decoration: none;
  transition: all 0.15s ease;
}

.mobile-nav-drawer .nav-link-mobile:hover {
  color: var(--accent);
  padding-left: 6px;
}

.mobile-nav-drawer .nav-link-mobile .nav-icon {
  width: 16px;
  height: 16px;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.hero-section {
  padding-top: 156px;
  padding-bottom: 60px;
  text-align: left;
  position: relative;
}

.hero-ticker-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 28px;
}

.hero-ticker-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: 9999px;
  border: 1px solid var(--border-accent-subtle);
  background-color: var(--bg-tag-accent);
  color: var(--accent);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  max-width: min(90vw, 480px);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
  box-shadow: 0 2px 14px var(--glow-color);
}

.hero-ticker-pill:hover {
  border-color: var(--accent);
  transform: translateY(-1px) scale(1.02);
}

.hero-ticker-pill svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.hero-ticker-inner {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pulse-dot {
  position: relative;
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background-color: var(--status-good);
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
  box-shadow: 0 0 6px var(--status-good);
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1px solid var(--status-good);
  opacity: 0;
  animation: calmRadarPulse 3.2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes calmRadarPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.65;
  }
  65%, 100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

.hero-title {
  font-family: var(--font-main);
  font-size: clamp(34px, 5.5vw, 64px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 900px;
  margin: 0 0 24px 0;
  color: var(--fg-primary);
}

.mobile-break {
  display: none;
}

.font-accent-italic {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.05em;
  color: var(--accent);
  display: inline-block;
  padding: 0 4px;
}

.hero-description {
  font-family: var(--font-mono);
  font-size: clamp(13.5px, 1.6vw, 15px);
  color: var(--fg-secondary);
  max-width: 720px;
  margin: 0 0 36px 0;
  line-height: 1.65;
}

.mono-tag-highlight {
  color: var(--accent);
  border-bottom: 1px dotted var(--border-accent);
  padding-bottom: 1px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.btn-pill-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--accent);
  color: var(--accent-contrast);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 9999px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
  box-shadow: 0 4px 18px var(--glow-color);
  border: 1px solid transparent;
  line-height: 1.2;
}

.btn-pill-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 24px var(--glow-color);
}

.btn-pill-primary svg {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.btn-pill-primary:hover svg.btn-arrow {
  transform: translateX(3px);
}

.btn-pill-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--bg-badge);
  color: var(--fg-primary);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  padding: 11px 22px;
  border-radius: 9999px;
  text-decoration: none;
  border: 1px solid var(--border-dotted);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
  line-height: 1.2;
}

.btn-pill-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background-color: var(--bg-surface-elevated);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px var(--glow-color);
}

.btn-pill-secondary svg {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.btn-pill-secondary:hover svg.btn-arrow {
  transform: translateX(3px);
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.stat-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-dotted);
  border-radius: 18px;
  padding: 22px 20px 20px;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.25s ease,
              box-shadow 0.28s ease,
              background-color 0.25s ease;
}

.stat-card:hover {
  border-color: var(--accent);
  background-color: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(var(--accent-rgb), 0.1);
}

.stat-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--fg-tertiary);
  text-transform: uppercase;
}

.stat-icon-wrap {
  width: auto;
  height: auto;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: transform 0.25s ease;
}

.stat-card:hover .stat-icon-wrap {
  transform: scale(1.1);
}

.stat-icon-wrap svg {
  width: 17px;
  height: 17px;
}

.stat-value {
  font-family: var(--font-brand);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--fg-primary);
  line-height: 1.15;
  margin-bottom: 12px;
}

.stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 9999px;
  background-color: var(--bg-badge);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--fg-secondary);
  transition: all 0.25s ease;
}

.stat-card:hover .stat-badge {
  border-color: var(--border-accent-subtle);
  color: var(--accent);
  background-color: var(--bg-tag-accent);
}

.section {
  padding: 76px 0;
  position: relative;
}

.section-linear-grid,
.section-radial-dots {
  position: relative;
  z-index: 1;
}

.section-linear-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, var(--grid-line-color) 1px, transparent 1px),
                    linear-gradient(to bottom, var(--grid-line-color) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: center top;
  background-repeat: repeat;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 80px,
    black calc(100% - 80px),
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 80px,
    black calc(100% - 80px),
    transparent 100%
  );
}

.hero-section.section-linear-grid::before {
  -webkit-mask-image: linear-gradient(
    to bottom,
    black 0%,
    black calc(100% - 80px),
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    black 0%,
    black calc(100% - 80px),
    transparent 100%
  );
}

.section-radial-dots::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--dot-color) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  background-position: center top;
  background-repeat: repeat;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 80px,
    black calc(100% - 80px),
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 80px,
    black calc(100% - 80px),
    transparent 100%
  );
}

.section-head {
  margin-bottom: 44px;
}

.section-tag-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title {
  font-family: var(--font-main);
  font-size: clamp(28px, 4.2vw, 48px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--fg-primary);
  margin-bottom: 12px;
}

.section-subtitle {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--fg-secondary);
  max-width: 640px;
  line-height: 1.6;
}

.comparison-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.comparison-card {
  border-radius: 20px;
  padding: 32px 28px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-dotted);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.25s ease,
              box-shadow 0.28s ease;
  position: relative;
  overflow: hidden;
}

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

.comparison-card.bad {
  border-color: rgba(248, 113, 113, 0.25);
  background: linear-gradient(180deg, rgba(248, 113, 113, 0.05) 0%, var(--bg-card) 100%);
}

.comparison-card.bad:hover {
  border-color: rgba(248, 113, 113, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), 0 0 24px rgba(248, 113, 113, 0.08);
}

.comparison-card.good {
  border-color: var(--border-accent);
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.08) 0%, var(--bg-card) 100%);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), 0 0 30px rgba(var(--accent-rgb), 0.1);
}

.comparison-card.good:hover {
  border-color: var(--accent);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.45), 0 0 36px rgba(var(--accent-rgb), 0.16);
}

.comp-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.comp-icon {
  width: auto;
  height: auto;
  background: transparent;
  border: none;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
  font-family: var(--font-mono);
}

.comp-icon.bad {
  background: transparent;
  color: var(--status-bad);
  border: none;
}

.comp-icon.good {
  background: transparent;
  color: var(--accent);
  border: none;
}

.comp-title {
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 600;
  color: var(--fg-primary);
  line-height: 1.25;
}

.comp-subtitle {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-tertiary);
}

.comp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comp-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-secondary);
  line-height: 1.55;
}

.comp-bullet {
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.comp-bullet.bad {
  color: var(--status-bad);
  background: rgba(248, 113, 113, 0.12);
}

.comp-bullet.good {
  color: var(--accent);
  background: var(--bg-tag-accent);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-dotted);
  border-radius: 18px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.25s ease,
              box-shadow 0.28s ease,
              background-color 0.25s ease;
}

.feature-card:hover {
  border-color: var(--accent);
  background-color: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(var(--accent-rgb), 0.1);
}

.feature-icon-box {
  width: auto;
  height: auto;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 14px;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon-box {
  transform: scale(1.1) translateY(-2px);
}

.feature-icon-box svg {
  width: 26px;
  height: 26px;
}

.feature-title {
  font-family: var(--font-main);
  font-size: 17.5px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 8px;
  color: var(--fg-primary);
}

.feature-desc {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--fg-secondary);
  line-height: 1.6;
}

.feature-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-badge);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--fg-tertiary);
  width: fit-content;
  transition: all 0.25s ease;
}

.feature-card:hover .feature-tag-pill {
  border-color: var(--border-accent-subtle);
  color: var(--accent);
  background-color: var(--bg-tag-accent);
}

.nodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.node-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-dotted);
  border-radius: 16px;
  padding: 20px 18px;
  position: relative;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.25s ease,
              box-shadow 0.28s ease,
              background-color 0.25s ease;
}

.node-card:hover {
  border-color: var(--accent);
  background-color: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35), 0 0 20px rgba(var(--accent-rgb), 0.1);
}

.node-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.node-flag {
  font-size: 20px;
}

.node-ping-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--status-good);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 9999px;
  background-color: var(--status-good-bg);
  border: 1px solid rgba(52, 211, 153, 0.35);
}

.node-city {
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 600;
  color: var(--fg-primary);
  margin-bottom: 3px;
}

.node-country {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--fg-tertiary);
}

.roadmap-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 760px;
  margin: 0;
  position: relative;
}

.roadmap-item {
  display: flex;
  align-items: stretch;
  gap: 24px;
  position: relative;
}

.roadmap-spine {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 44px;
}

.roadmap-node {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-dotted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 2;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.roadmap-num {
  font-family: var(--font-brand);
  font-size: 13px;
  font-weight: 700;
  color: var(--fg-secondary);
  letter-spacing: -0.02em;
}

.roadmap-node.active {
  border-color: var(--accent);
  background: var(--bg-tag-accent);
  box-shadow: 0 0 20px var(--glow-color);
}

.roadmap-node.active .roadmap-num {
  color: var(--accent);
}

.roadmap-item:hover .roadmap-node {
  border-color: var(--accent);
  transform: scale(1.08);
}

.roadmap-item:hover .roadmap-node .roadmap-num {
  color: var(--accent);
}

.roadmap-line {
  flex: 1;
  width: 2px;
  min-height: 48px;
  background: repeating-linear-gradient(
    to bottom,
    var(--border-dotted),
    var(--border-dotted) 4px,
    transparent 4px,
    transparent 8px
  );
  margin: 6px 0;
}

.roadmap-content {
  flex: 1;
  padding: 8px 0 36px 0;
  text-align: left;
}

.roadmap-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 9999px;
  background: var(--bg-badge);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fg-tertiary);
  margin-bottom: 10px;
}

.roadmap-pill.active {
  color: var(--accent);
  border-color: var(--border-accent-subtle);
  background: var(--bg-tag-accent);
}

.roadmap-title {
  font-family: var(--font-main);
  font-size: 19px;
  font-weight: 600;
  color: var(--fg-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.roadmap-desc {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-secondary);
  line-height: 1.6;
  max-width: 620px;
}

.roadmap-link {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.roadmap-link:hover {
  color: var(--accent-hover);
}

.faq-wrap {
  max-width: 820px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-dotted);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.faq-item:hover {
  border-color: var(--border-accent);
}

.faq-item.active {
  border-color: var(--border-accent);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.faq-trigger {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  color: var(--fg-primary);
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  gap: 14px;
}

.faq-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
  color: var(--accent);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-content {
  display: none;
  padding: 0 24px 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-secondary);
  line-height: 1.65;
  border-top: 1px solid var(--border-subtle);
  margin-top: 4px;
  padding-top: 16px;
}

.faq-item.active .faq-content {
  display: block;
}

.cta-banner {
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.09) 0%, var(--bg-card) 60%);
  background-color: var(--bg-card);
  border: 1.5px solid var(--border-accent);
  border-radius: 24px;
  padding: 56px 42px;
  text-align: left;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35), 0 0 45px var(--glow-color);
}

[data-theme="light"] .cta-banner {
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.14) 0%, rgba(255, 255, 255, 0.95) 70%);
  box-shadow: 0 14px 36px rgba(18, 26, 36, 0.08), 0 0 35px var(--glow-color);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: radial-gradient(80% 60% at 20% 0%, rgba(var(--accent-rgb), 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title,
.cta-subtitle,
.cta-banner .btn-pill-primary {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-family: var(--font-main);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 400;
  margin-bottom: 14px;
  color: var(--fg-primary);
}

.cta-subtitle {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--fg-secondary);
  max-width: 580px;
  margin: 0 0 30px 0;
}

.site-footer {
  border-top: 1px solid var(--border-dotted);
  padding: 60px 0 36px;
  margin-top: 40px;
  background-color: var(--bg-page);
  position: relative;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 36px;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-dotted);
}

.footer-brand {
  max-width: 340px;
}

.footer-desc {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--fg-secondary);
  margin-top: 14px;
  line-height: 1.6;
}

.footer-links-grid {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-tertiary);
  margin-bottom: 14px;
  font-weight: 600;
}

.footer-col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-links a {
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-secondary);
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-tertiary);
}

.footer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  color: var(--fg-secondary);
  padding: 4px 12px;
  border-radius: 9999px;
  border: 1px solid var(--border-dotted);
  background: var(--bg-badge);
}

@media (max-width: 1220px) {
  .header-nav-desktop {
    gap: 16px;
  }
  .nav-item-btn {
    padding: 4px 4px;
    font-size: 12.5px;
    gap: 6px;
  }
}

@media (max-width: 1080px) {
  .header-logo-desktop {
    display: none;
  }
  .header-nav-desktop {
    display: none;
  }
  .header-logo-mobile {
    display: flex;
  }
  .header-menu-mobile-btn {
    display: flex;
  }
  .header-actions-group {
    top: 24px;
    right: 20px;
  }
  .mobile-drawer-backdrop {
    display: block;
  }
  .mobile-nav-drawer {
    display: flex;
  }
  .hero-section {
    padding-top: 100px;
  }
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .comparison-cards-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .roadmap-item {
    gap: 16px;
  }
}

@media (max-width: 768px) {
  
  .container {
    padding: 0 16px;
  }

  .header-logo-mobile {
    top: 18px;
  }
  .header-menu-mobile-btn {
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    font-size: 12px;
    gap: 6px;
  }
  .header-actions-group {
    top: 16px;
    right: 16px;
  }

  .section {
    padding: 48px 0;
  }
  .section-head {
    margin-bottom: 24px;
  }
  .section-tag-row {
    margin-bottom: 8px;
  }
  .section-tag {
    font-size: 11px;
    letter-spacing: 0.07em;
  }
  .section-title {
    font-size: clamp(25px, 6.5vw, 32px);
    line-height: 1.18;
    letter-spacing: -0.03em;
    font-weight: 400;
    margin-bottom: 10px;
    overflow-wrap: break-word;
  }
  .section-subtitle {
    font-size: 14.5px;
    line-height: 1.55;
  }

  .hero-section {
    padding-top: 88px;
    padding-bottom: 42px;
  }
  .hero-title {
    font-size: clamp(23px, 6.2vw, 30px);
    line-height: 1.18;
    letter-spacing: -0.03em;
    font-weight: 400;
    margin-bottom: 20px;
    word-break: normal;
    overflow-wrap: break-word;
  }
  .hero-title .mobile-break {
    display: block;
  }
  .font-accent-italic {
    display: inline;
    padding: 0 2px;
  }
  .hero-description {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 28px;
  }
  .hero-buttons {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-bottom: 34px;
  }
  .hero-buttons .btn-pill-primary,
  .hero-buttons .btn-pill-secondary {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 14px;
  }

  .hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 10px;
  }
  .stat-card {
    padding: 14px 12px 12px;
    border-radius: 14px;
  }
  .stat-card-top {
    margin-bottom: 8px;
  }
  .stat-label {
    font-size: 11px;
    letter-spacing: 0.04em;
    font-weight: 600;
  }
  .stat-icon-wrap svg {
    width: 15px;
    height: 15px;
  }
  .stat-value {
    font-size: clamp(15px, 4.2vw, 19px);
    margin-bottom: 8px;
    letter-spacing: -0.03em;
    line-height: 1.15;
    white-space: nowrap;
  }
  .stat-badge {
    font-size: 11px;
    padding: 3px 8px;
    gap: 5px;
  }

  .comparison-cards-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .comparison-card {
    padding: 20px 18px;
    border-radius: 16px;
  }
  .comp-head {
    margin-bottom: 16px;
    padding-bottom: 12px;
    gap: 10px;
  }
  .comp-icon {
    font-size: 18px;
  }
  .comp-title {
    font-size: 18px;
    font-weight: 600;
  }
  .comp-subtitle {
    font-size: 13px;
  }
  .comp-list {
    gap: 12px;
  }
  .comp-list li {
    font-size: 14.5px;
    line-height: 1.45;
    gap: 10px;
  }
  .comp-bullet {
    width: 20px;
    height: 20px;
    font-size: 12px;
    margin-top: 1px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .feature-card {
    padding: 20px 18px;
    border-radius: 16px;
  }
  .feature-icon-box {
    margin-bottom: 12px;
  }
  .feature-icon-box svg {
    width: 24px;
    height: 24px;
  }
  .feature-title {
    font-size: 18.5px;
    font-weight: 600;
    margin-bottom: 6px;
  }
  .feature-desc {
    font-size: 14.5px;
    line-height: 1.55;
  }
  .feature-tag-pill {
    margin-top: 16px;
    font-size: 11.5px;
    padding: 4px 10px;
  }

  .nodes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .node-card {
    padding: 14px 12px;
    border-radius: 14px;
  }
  .node-top {
    margin-bottom: 8px;
  }
  .node-flag {
    font-size: 18px;
  }
  .node-ping-pill {
    font-size: 10.5px;
    padding: 2px 7px;
    gap: 4px;
  }
  .node-city {
    font-size: 15px;
    margin-bottom: 2px;
  }
  .node-country {
    font-size: 11.5px;
  }

  .roadmap-timeline {
    max-width: 100%;
  }
  .roadmap-item {
    gap: 14px;
  }
  .roadmap-spine {
    width: 36px;
  }
  .roadmap-node {
    width: 34px;
    height: 34px;
  }
  .roadmap-num {
    font-size: 12px;
  }
  .roadmap-line {
    min-height: 36px;
  }
  .roadmap-content {
    padding: 2px 0 22px 0;
  }
  .roadmap-pill {
    font-size: 10.5px;
    padding: 2px 8px;
    margin-bottom: 6px;
  }
  .roadmap-title {
    font-size: 17px;
    margin-bottom: 6px;
  }
  .roadmap-desc {
    font-size: 13.5px;
    line-height: 1.55;
  }

  .faq-wrap {
    gap: 10px;
  }
  .faq-item {
    border-radius: 14px;
  }
  .faq-trigger {
    padding: 16px 18px;
    font-size: 15px;
    gap: 10px;
    line-height: 1.35;
    word-break: normal;
    overflow-wrap: break-word;
  }
  .faq-icon {
    width: 18px;
    height: 18px;
  }
  .faq-content {
    padding: 0 18px 16px;
    font-size: 13.5px;
    line-height: 1.6;
    padding-top: 12px;
  }

  .cta-banner {
    padding: 30px 18px;
    border-radius: 18px;
  }
  .cta-title {
    font-size: clamp(22px, 5.5vw, 28px);
    margin-bottom: 10px;
    line-height: 1.25;
  }
  .cta-subtitle {
    font-size: 13.5px;
    margin-bottom: 22px;
    line-height: 1.55;
  }
  .cta-banner .btn-pill-primary {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
  }

  .site-footer {
    padding: 38px 0 24px;
    margin-top: 24px;
  }
  .footer-top {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 24px;
    padding-bottom: 24px;
  }
  .footer-brand {
    max-width: 100%;
  }
  .footer-desc {
    font-size: 13px;
    margin-top: 10px;
    line-height: 1.55;
  }
  .footer-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 14px;
    width: 100%;
  }
  .footer-col {
    min-width: 0;
  }
  .footer-col-title {
    font-size: 11px;
    margin-bottom: 10px;
  }
  .footer-col-links {
    gap: 9px;
  }
  .footer-col-links a {
    font-size: 13px;
    word-break: normal;
    overflow-wrap: break-word;
    line-height: 1.4;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 11.5px;
  }
}

@media (max-width: 380px) {
  .container {
    padding: 0 13px;
  }
  .header-menu-mobile-btn {
    left: 12px;
    top: 14px;
    padding: 5px 10px;
    font-size: 11.5px;
  }
  .header-actions-group {
    right: 12px;
    top: 14px;
  }
  .header-logo-mobile {
    top: 15px;
  }
  .brand-name {
    font-size: 15px;
  }
  .brand-logo-svg {
    width: 22px;
    height: 22px;
  }
  .hero-title {
    font-size: 24px;
    line-height: 1.18;
  }
  .hero-stats-grid {
    gap: 7px;
  }
  .stat-card {
    padding: 12px 10px;
  }
  .stat-value {
    font-size: 18px;
  }
  .nodes-grid {
    grid-template-columns: 1fr;
  }
  .comparison-card,
  .feature-card {
    padding: 16px 14px;
  }
  .footer-links-grid {
    grid-template-columns: 1fr;
  }
}

.terms-page-wrap {
  padding-top: 140px;
  padding-bottom: 80px;
  position: relative;
  z-index: 2;
}

.terms-container {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

.terms-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.terms-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fg-secondary);
  font-family: var(--font-mono);
  font-size: 13px;
  text-decoration: none;
  padding: 7px 16px;
  border-radius: 9999px;
  border: 1px solid var(--border-dotted);
  background-color: var(--bg-card);
  transition: all 0.2s ease;
}

.terms-back-btn:hover {
  color: var(--fg-primary);
  border-color: var(--accent);
  transform: translateX(-3px);
}

.terms-header {
  margin-bottom: 44px;
}

.terms-header .section-title {
  margin-bottom: 14px;
}

.terms-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
  margin-top: 8px;
}

.terms-doc {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.terms-section {
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-dotted);
}

.terms-section:last-of-type {
  border-bottom: none;
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.terms-section-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}

.terms-section-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background-color: var(--bg-tag-accent);
  border: 1px solid var(--border-accent-subtle);
  border-radius: 6px;
  padding: 2px 7px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.terms-section-title {
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 600;
  color: var(--fg-primary);
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin: 0;
}

.terms-section-body {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--fg-secondary);
  line-height: 1.75;
}

.terms-section-body p + p {
  margin-top: 14px;
}

.terms-section-body ul {
  list-style: none;
  padding-left: 0;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.terms-section-body ul li {
  position: relative;
  padding-left: 20px;
}

.terms-section-body ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.terms-callout {
  margin-top: 18px;
  padding: 14px 18px;
  background-color: var(--bg-tag-accent);
  border-left: 2px solid var(--accent);
  border-radius: 0 8px 8px 0;
  font-size: 13px;
  color: var(--fg-primary);
  line-height: 1.65;
}

.terms-accept-banner {
  margin-top: 32px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-dotted);
  border-radius: 16px;
  padding: 36px 32px;
  text-align: center;
}

.terms-accept-title {
  font-family: var(--font-main);
  font-size: 22px;
  font-weight: 600;
  color: var(--fg-primary);
  margin-bottom: 12px;
}

.terms-accept-text {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--fg-secondary);
  max-width: 620px;
  margin: 0 auto 24px;
  line-height: 1.65;
}

.terms-accept-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .terms-page-wrap {
    padding-top: 96px;
  }
  .terms-container {
    padding: 0 16px;
  }
  .terms-section {
    padding-bottom: 30px;
    margin-bottom: 30px;
  }
  .terms-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .terms-section-title {
    font-size: 18px;
  }
  .terms-accept-banner {
    padding: 24px 18px;
  }
}

.brand-page-wrap {
  padding-top: 140px;
  padding-bottom: 80px;
  position: relative;
  z-index: 2;
}

.brand-container {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.brand-asset-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-dotted);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease;
}

.brand-asset-card:hover {
  border-color: var(--border-accent);
}

.brand-asset-preview {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
}

.brand-asset-preview.bg-dark-preview {
  background-color: #141414;
}

.brand-asset-preview.bg-light-preview {
  background-color: #cddbe9;
}

.brand-asset-preview.bg-pure-white {
  background-color: #ffffff;
}

.brand-asset-preview.bg-pure-black {
  background-color: #0c0c0e;
}

.brand-asset-info {
  padding: 16px 20px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background-color: var(--bg-surface);
}

.brand-asset-title {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-primary);
  margin-bottom: 3px;
}

.brand-asset-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-tertiary);
}

.brand-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--fg-secondary);
  background: var(--bg-badge);
  border: 1px solid var(--border-dotted);
  border-radius: 9999px;
  padding: 6px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.brand-copy-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.brand-copy-btn.copied {
  color: var(--status-good);
  border-color: var(--status-good);
}

.brand-color-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.brand-color-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-dotted);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.brand-color-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-accent);
}

.brand-color-swatch {
  height: 90px;
  width: 100%;
}

.brand-color-details {
  padding: 14px;
  font-family: var(--font-mono);
}

.brand-color-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--fg-primary);
  margin-bottom: 4px;
}

.brand-color-hex {
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-color-role {
  font-size: 10.5px;
  color: var(--fg-tertiary);
  margin-top: 4px;
}

.brand-rules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.brand-rule-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-dotted);
  border-radius: 14px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.brand-rule-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 6px;
  width: fit-content;
}

.brand-rule-badge.do {
  color: var(--status-good);
  background-color: var(--status-good-bg);
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.brand-rule-badge.dont {
  color: var(--status-bad);
  background-color: var(--status-bad-bg);
  border: 1px solid rgba(248, 113, 113, 0.3);
}

.brand-rule-title {
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 600;
  color: var(--fg-primary);
}

.brand-rule-desc {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-secondary);
  line-height: 1.6;
}

.brand-rule-sample {
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 8px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  margin-top: 4px;
}

.brand-fonts-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.brand-font-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-dotted);
  border-radius: 14px;
  padding: 22px 26px;
}

.brand-font-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.brand-font-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  background-color: var(--bg-tag-accent);
  border: 1px solid var(--border-accent-subtle);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.brand-font-role {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-tertiary);
}

.brand-font-sample {
  color: var(--fg-primary);
  line-height: 1.3;
}

.brand-toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-accent);
  color: var(--fg-primary);
  font-family: var(--font-mono);
  font-size: 12.5px;
  padding: 10px 18px;
  border-radius: 9999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.brand-toast.visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 768px) {
  .brand-page-wrap {
    padding-top: 96px;
  }
  .brand-showcase-grid,
  .brand-rules-grid {
    grid-template-columns: 1fr;
  }
  .brand-color-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

