:root {
  --bg: #0C0E12;
  --bg-alt: #12151A;
  --surface: #1A1F27;
  --border: #252E3A;
  --border-light: #2E3745;
  --accent: #F5A623;
  --accent-hover: #FFB940;
  --accent-dim: rgba(245, 166, 35, 0.10);
  --text: #EDEAE5;
  --text-muted: #8A8F9A;
  --text-dim: #555E6B;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 10px;
  --radius-lg: 14px;
}

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

html { scroll-behavior: smooth; }

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

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* NAV */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 clamp(24px, 5vw, 64px);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--accent);
  letter-spacing: -0.5px;
}
.nav-tagline {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
}

/* SECTION UTILITIES */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 64px);
}
.section-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}
.section-headline {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  line-height: 1.18;
  color: var(--text);
  letter-spacing: -0.8px;
  margin-bottom: clamp(40px, 6vw, 64px);
  max-width: 600px;
}

/* HERO */
.hero {
  padding-top: 120px;
  padding-bottom: clamp(80px, 12vw, 120px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,166,35,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 96px);
  align-items: center;
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 20px;
}
.hero-sub {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #0D0D0D;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  box-shadow: 0 2px 12px rgba(245,166,35,0.25);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(245,166,35,0.35);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 11px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}
.btn-ghost:hover {
  border-color: var(--text-muted);
  background: rgba(255,255,255,0.04);
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}
.trust-item svg { color: var(--accent); }
.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 48px rgba(0,0,0,0.4);
}
.hero-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.hero-image-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
}
.overlay-card {
  background: rgba(12,14,18,0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.overlay-card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.overlay-card-sub {
  font-size: 11px;
  color: var(--text-muted);
}

/* HOW IT WORKS */
.howitworks {
  background: var(--bg-alt);
  padding: clamp(60px, 8vw, 100px) 0;
}
.hiw-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.hiw-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: clamp(32px, 4vw, 48px);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.hiw-card:hover {
  border-color: var(--border-light);
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}
.hiw-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.hiw-step {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  background: var(--accent-dim);
  padding: 4px 10px;
  border-radius: 20px;
}
.hiw-icon { color: var(--accent); }
.hiw-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.hiw-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}
.hiw-card .btn-card {
  display: inline-block;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s;
}
.hiw-card .btn-card:hover { color: var(--accent-hover); }
.hiw-card .btn-card::after {
  content: ' →';
  transition: transform 0.15s;
  display: inline-block;
}
.hiw-card .btn-card:hover::after { transform: translateX(3px); }

/* SPACE TYPES */
.spacetypes {
  padding: clamp(60px, 8vw, 100px) 0;
}
.st-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.st-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.st-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.2);
}
.st-icon { color: var(--accent); margin-bottom: 20px; }
.st-card h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.st-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* WHO FOR IT */
.whoforit {
  background: var(--bg-alt);
  padding: clamp(60px, 8vw, 100px) 0;
}
.wf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.wf-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: border-color 0.2s;
}
.wf-item:hover { border-color: var(--border-light); }
.wf-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wf-icon svg { color: var(--accent); }
.wf-item h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.wf-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* CLOSING */
.closing {
  padding: clamp(80px, 12vw, 140px) 0;
  position: relative;
  overflow: hidden;
}
.closing::before {
  content: '';
  position: absolute;
  bottom: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(245,166,35,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.closing-inner {
  max-width: 880px;
  position: relative;
}
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 20px;
}
.closing-sub {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 40px;
}
.closing-cta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: clamp(48px, 8vw, 80px);
}
.closing-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  padding-right: 40px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -1.5px;
}
.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  max-width: 140px;
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  margin-right: 40px;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding: clamp(48px, 6vw, 72px) 0 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: flex-start;
  margin-bottom: 48px;
}
.footer-brand { max-width: 280px; }
.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}
.footer-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
.footer-nav {
  display: flex;
  gap: 48px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col-head {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.footer-link {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-link:hover { color: var(--text); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px clamp(24px, 5vw, 64px) 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  font-size: 12px;
  color: var(--text-dim);
}
.footer-polsiLink {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-polsiLink:hover { color: var(--text-muted); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-image-wrap { display: none; }
  /* Fix squished/condensed hero heading on mobile:
     Syne 800 + tight letter-spacing looks compressed at small sizes */
  .hero-headline {
    font-weight: 700;
    letter-spacing: -0.5px;
    font-size: clamp(30px, 7vw, 42px);
  }
  .st-grid { grid-template-columns: 1fr 1fr; }
  .wf-grid { grid-template-columns: 1fr 1fr; }
  .closing-stats { gap: 24px; }
  .stat-divider { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-nav { gap: 32px; }
}

@media (max-width: 600px) {
  .hiw-grid { grid-template-columns: 1fr; }
  .st-grid { grid-template-columns: 1fr; }
  .wf-grid { grid-template-columns: 1fr; }
  .footer-nav { flex-wrap: wrap; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .nav-tagline { display: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .closing-cta { flex-direction: column; align-items: flex-start; }
}