@import url('/static/tokens.css');
:root {
  color-scheme: dark;
  --accent: var(--np-brand-accent);
  --accent-strong: var(--np-brand-primary);
  --fg: var(--np-text-contrast);
  --bg: var(--np-bg-canvas);
  --muted: var(--np-text-secondary);
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --shadow-card: none;
  --shadow-glow: none;
  --np-brand-primary-glow: rgb(16 185 129 / 0.18);
}
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-family);
  color: var(--np-text-contrast);
  background: var(--np-bg-canvas);
  background-repeat: no-repeat;
  background-attachment: fixed;
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}

/* ==========================================================================
   Header & Navigation (Penpot 01_Desktop_Landing_1440)
   ========================================================================== */

.site-header {
  padding: 18px 24px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--np-border-default);
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--np-text-contrast);
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--np-brand-primary);
  box-shadow: none;
}

.brand-name {
  background: linear-gradient(135deg, #ffffff 40%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge-market {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--np-selected-text);
  background: var(--np-selected-bg);
  border: 1px solid transparent;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link {
  color: var(--np-text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--np-text-contrast);
}

.lang-switch {
  color: var(--np-text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--np-border-default);
  background: var(--np-surface-card);
  transition: all 0.2s ease;
}

.lang-switch:hover {
  color: var(--np-brand-accent);
  border-color: var(--np-brand-accent);
  background: var(--np-surface-hover);
}

.button-header {
  padding: 8px 16px;
  font-size: 0.85rem;
  min-height: 38px;
  background: var(--np-surface-elevated);
  border: 1px solid var(--np-border-default);
  color: var(--np-brand-primary);
  border-radius: var(--radius-full);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
}

.button-header:hover {
  background: var(--np-brand-primary);
  color: #ffffff;
  box-shadow: 0 0 16px var(--np-brand-primary-glow);
}

/* ==========================================================================
   Container & Layout
   ========================================================================== */

.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 36px 20px 64px;
}

/* ==========================================================================
   Hero Section & Landing (Penpot 01_Desktop_Landing_1440)
   ========================================================================== */

.hero {
  text-align: center;
  padding: 40px 16px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0;
  background: linear-gradient(135deg, #ffffff 30%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  max-width: 760px;
}

.hero p {
  font-size: 1.15rem;
  color: var(--np-text-secondary);
  line-height: 1.6;
  max-width: 620px;
  margin: 0 0 12px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 32px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.button.primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 6px 24px var(--np-brand-primary-glow);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.button.primary:hover {
  background: linear-gradient(135deg, #1dd498 0%, #047857 100%);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.45);
  transform: translateY(-2px);
}

.button.primary:active {
  transform: translateY(0);
}

/* ==========================================================================
   How It Works (Penpot Steps Section)
   ========================================================================== */

.how {
  margin-top: 48px;
  padding: 36px 32px;
  background: transparent;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.how h2 {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: var(--np-text-contrast);
  text-align: center;
}

.how ol {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding-left: 0;
  list-style: none;
  counter-reset: steps;
}

.how li {
  counter-increment: steps;
  background: var(--np-surface-card);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  padding: 24px 20px;
  font-size: 0.95rem;
  color: var(--np-text-secondary);
  line-height: 1.55;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.how li::before {
  content: counter(steps);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--np-selected-bg);
  color: var(--np-selected-text);
  font-weight: 800;
  font-size: 0.9rem;
  border: 1px solid transparent;
}

/* ==========================================================================
   Listing Share Cards (Penpot 03_Desktop_Listing_Active_1440)
   ========================================================================== */

.listing-card {
  background: var(--np-surface-card);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.listing-card::before {
  content: none;
}

.listing-card h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 12px 0 16px;
  color: var(--np-text-contrast);
}

.eyebrow {
  color: var(--np-brand-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.banner {
  background: var(--np-surface-inset);
  border: 1px solid transparent;
  color: var(--np-text-secondary);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 20px;
}

/* ==========================================================================
   Legal & Information Pages (Penpot 08_Desktop_Legal_Safety_Support_1440)
   ========================================================================== */

.legal h1 {
  font-size: clamp(1.45rem, 5.3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.legal h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--np-text-contrast);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--np-border-default);
}

.legal section {
  margin-bottom: 24px;
}

.legal ul {
  padding-left: 1.4rem;
  color: var(--np-text-secondary);
}

.legal li {
  margin: 8px 0;
}

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

ul.plain li {
  padding: 8px 0;
  border-bottom: 1px solid var(--np-border-default);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding: 32px 24px 48px;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--np-border-default);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-links a {
  margin-right: 18px;
  color: var(--np-text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

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

.disclaimer {
  color: var(--np-text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 0;
}

.muted {
  color: var(--np-text-secondary);
}

.small {
  font-size: 0.85rem;
}

:focus-visible {
  outline: 2px solid var(--np-brand-accent);
  outline-offset: 2px;
}

/* ==========================================================================
   Mobile Responsive Adjustments (Penpot 02_Mobile_Landing_390)
   ========================================================================== */

@media (max-width: 680px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
  }

  .container {
    padding: 24px 16px 48px;
  }

  .listing-card {
    padding: 24px 20px;
  }

  .how {
    padding: 24px 18px;
  }
}

.button.primary,
.button-header {
  background: var(--np-brand-primary);
  color: var(--np-brand-ink);
  box-shadow: none;
}
.button.primary:hover,
.button-header:hover {
  background: var(--np-brand-primary-hover);
  color: var(--np-brand-ink);
  transform: none;
  box-shadow: none;
}
.brand-name {
  background: none;
  color: var(--np-brand-text);
  -webkit-text-fill-color: currentColor;
}
.hero h1 {
  color: var(--np-text-contrast);
  background: none;
  -webkit-text-fill-color: currentColor;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
}
.navigation-button {
  color: var(--np-brand-accent);
  border: 1px solid var(--np-border-default);
  background: transparent;
}
.navigation-button:hover {
  border-color: var(--np-brand-accent);
}
.how li::before {
  color: var(--np-success);
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  background: var(--np-surface-card);
  padding: 12px;
  z-index: 100;
}
.skip-link:focus {
  top: 16px;
}
.release-stamp {
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
:focus-visible {
  outline: 2px solid var(--np-brand-accent);
  outline-offset: 4px;
}
#how-it-works {
  scroll-margin-top: 24px;
}
@media (max-width: 640px) {
  .site-header {
    padding: 16px;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .nav-links {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
  }
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .how,
  .listing-card {
    padding: 24px 20px;
  }
  .hero {
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .hero h1 {
    font-size: 36px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
  }
}
