:root {
  --color-bg: #ffffff;
  --color-text-primary: #222;
  --color-text-secondary: #555;
  --color-text-muted: #777;
  --color-text-light: #999;
  --color-primary: #8256F7;
  --color-primary-soft: #faf9ff;
  --color-border: #ebebeb;
  --font-body: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "DM Serif Display", Georgia, serif;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 100px;
  --section-spacing: 100px;
  --section-spacing-tight: 72px;
  --section-spacing-loose: 120px;
  --section-padding: 100px;
  --section-padding-tight: 72px;
  --section-padding-loose: 120px;
  --element-gap-sm: 16px;
  --element-gap-md: 24px;
  --element-gap-lg: 40px;
  --section-gap: 40px;
  --element-gap: 24px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: 180ms var(--ease-out);
  --transition-medium: 280ms var(--ease-out);
  --transition-slow: 420ms var(--ease-out);
}

html {
  scroll-behavior: smooth;
}

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

body {
  background: var(--color-bg);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1 {
  font-size: 44px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #111;
  margin-bottom: var(--space-2);
}

h2 {
  font-size: 32px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #111;
  margin-bottom: var(--space-2);
}

h3 {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
  color: #111;
  margin-bottom: var(--space-2);
}

p {
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  margin-bottom: var(--space-3);
}

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

.button-primary {
  background: var(--color-primary);
  color: #ffffff;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.1s ease;
  line-height: 1;
}

.button-primary:hover {
  background: #6e46e6;
}

.button-primary:active {
  transform: translateY(1px);
}

.button-primary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(130, 86, 247, 0.25);
}

.button-secondary {
  background: transparent;
  border: 1px solid var(--color-border);
  color: #111;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease;
  line-height: 1;
}

.button-secondary:hover {
  border-color: #999;
  color: #333;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  border-bottom: 1px solid var(--color-border);
}

.nav-wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.nav-wordmark:hover {
  opacity: 0.65;
}

.nav-wordmark > img {
  height: 28px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.nav-wm-wordmark {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.nav-wm-name {
  font-family: "Inter", sans-serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #1a1a1a;
  line-height: 1;
}

.nav-wm-domain {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.09em;
  color: #1a1a1a;
  line-height: 1;
  padding-bottom: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0 0 0 auto;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active,
.nav-links a[aria-current="page"] {
  color: #1a1a1a;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > a,
.nav-dropdown-trigger {
  font-size: 14px;
  font-weight: 400;
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}

.nav-dropdown > a:hover,
.nav-dropdown-trigger:hover {
  color: #1a1a1a;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 0.5rem 0;
  min-width: 220px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  z-index: 200;
}

.nav-dropdown-trigger[aria-expanded="true"] + .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.625rem 1.25rem;
  font-size: 13px;
  font-weight: 400;
  color: #555;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background: #faf9ff;
  color: #8256f7;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 1.5rem;
  flex-shrink: 0;
}

.nav-signin {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  color: #4a4a4a;
  background: #ffffff;
  border: 1.5px solid #d0d0d0;
  padding: 8px 18px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease,
    box-shadow 0.18s ease, transform 0.1s ease;
}

.nav-signin:hover {
  color: #8256f7;
  background: #faf9ff;
  border-color: #8256f7;
  box-shadow: 0 2px 8px rgba(130, 86, 247, 0.15);
  transform: translateY(-1px);
}

.nav-signin:active {
  transform: translateY(0);
}

.nav-cta {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  background: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  padding: 8px 18px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease,
    transform 0.1s ease;
}

.nav-cta:hover {
  background: #6e46e6;
  border-color: #6e46e6;
  box-shadow: 0 4px 14px rgba(130, 86, 247, 0.35);
  transform: translateY(-1px);
}

.nav-cta:active {
  transform: translateY(0);
  box-shadow: none;
}

.nav-more {
  position: relative;
  display: none;
}

.nav-more-trigger {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #555;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}

.nav-more-trigger:hover {
  color: #1a1a1a;
}

.nav-more-trigger svg {
  transition: transform 0.2s;
}

.nav-more-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.nav-more-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 0.5rem 0;
  min-width: 180px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  z-index: 200;
}

.nav-more-trigger[aria-expanded="true"] + .nav-more-menu {
  display: block;
}

.nav-more-menu a {
  display: block;
  padding: 0.625rem 1.25rem;
  font-size: 13px;
  font-weight: 400;
  color: #555;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.nav-more-menu a:hover {
  background: #faf9ff;
  color: #8256f7;
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 61px;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 2.5rem;
  flex-direction: column;
  gap: 1rem;
  z-index: 99;
}

.nav-mobile-menu.open {
  display: flex;
}

.nav-mobile-menu a {
  font-size: 15px;
  font-weight: 400;
  color: #333;
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
}

.footer {
  border-top: 1px solid var(--color-border);
  padding: 24px;
  text-align: center;
}

.footer-legal-text {
  width: 100%;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 300;
  color: #ccc;
  letter-spacing: 0.04em;
  margin: 0;
}

.footer-legal-link {
  color: #ccc;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.footer-legal-link:hover {
  color: #999;
}

.footer-legal-link--button {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.footer-signin-note {
  margin: 10px 0 0;
  font-family: var(--font-ui);
  font-size: 12px;
  color: #888;
}

.footer-signin-link {
  color: var(--color-primary);
  text-decoration: none;
}

.footer-signin-link:hover {
  text-decoration: underline;
}

.legal-page .page-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 96px 24px 80px;
}

.legal-page .page-header {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-border);
}

.legal-page .page-eyebrow {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.legal-page .page-title {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1.2;
  color: #111;
  margin-bottom: 12px;
}

.legal-page .page-meta {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--color-text-muted);
}

.legal-page .legal-content h2 {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 600;
  color: #111;
  margin: 36px 0 10px;
  padding-top: 4px;
}

.legal-page .legal-content h2:first-child {
  margin-top: 0;
}

.legal-page .legal-content p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 14px;
}

.legal-page .legal-content ul {
  margin: 0 0 14px 20px;
  padding: 0;
}

.legal-page .legal-content ul li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 6px;
}

.legal-page .legal-content a {
  color: var(--color-primary);
  text-decoration: underline;
}

.highlight-box {
  background: var(--color-primary-soft);
  border-left: 3px solid var(--color-primary);
  border-radius: 0 6px 6px 0;
  padding: 14px 18px;
  margin-bottom: 14px;
}

.highlight-box p {
  margin-bottom: 0;
  font-size: 14px;
  color: var(--color-text-secondary);
}

.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #fff;
  border-top: 1px solid #ebebeb;
  padding: 16px 24px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: #555;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
}

.cookie-banner a {
  color: #8256F7;
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-family: "Inter", sans-serif;
}

.cookie-btn-decline {
  border: 1px solid #ebebeb;
  background: #fff;
  color: #555;
}

.cookie-btn-accept {
  border: none;
  background: #8256F7;
  color: #fff;
  font-weight: 500;
}

@media (max-width: 640px) {
  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  p {
    font-size: 17px;
  }

  .nav {
    padding: 1rem 1.25rem;
  }

  .nav-wm-name {
    font-size: 22px;
  }

  .nav-wm-domain {
    font-size: 11px;
  }

  .nav-actions {
    gap: 0.5rem;
  }

  .nav-signin,
  .nav-cta {
    padding: 10px 14px;
    font-size: 12px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .legal-page .page-title {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .nav-mobile-menu {
    padding: 1rem 1.25rem;
  }
}

@media (max-width: 380px) {
  .nav-cta {
    display: none;
  }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .nav-more {
    display: none;
  }

  .nav-hamburger {
    display: block;
  }

  .nav-actions {
    flex-shrink: 0;
    margin-left: 0.75rem;
  }
}
