:root {
  --bg: oklch(0.15 0.012 60);
  --surface-1: oklch(0.18 0.013 60);
  --surface-2: oklch(0.19 0.015 60);
  --border: oklch(0.28 0.01 70);
  --border-strong: oklch(0.34 0.01 70);
  --border-outline: oklch(0.4 0.01 80);
  --border-card: oklch(0.3 0.01 70);
  --text: oklch(0.94 0.005 80);
  --text-nav: oklch(0.8 0.01 80);
  --text-hero-sub: oklch(0.78 0.01 80);
  --text-body: oklch(0.75 0.01 80);
  --text-point-desc: oklch(0.72 0.01 80);
  --text-feature-desc: oklch(0.7 0.01 80);
  --text-strip: oklch(0.65 0.01 80);
  --text-footer: oklch(0.6 0.01 80);
  --accent: oklch(0.72 0.13 70);
  --accent-hover: oklch(0.8 0.13 70);
  --accent-tint: oklch(0.72 0.13 70 / 0.14);
  --on-accent: oklch(0.15 0.012 60);
  --font-serif: 'Fraunces', serif;
  --font-sans: 'Inter', sans-serif;
  --container: 1240px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, p {
  margin: 0;
}

a {
  color: var(--accent);
  text-decoration: none;
}

.eyebrow {
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 18px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 10px;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-outline {
  border: 1px solid var(--border-outline);
  color: var(--text);
  font-weight: 600;
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-large {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-small {
  padding: 10px 20px;
  font-size: 15px;
  border-radius: 8px;
}

.btn-full {
  width: 100%;
  padding: 12px 0;
  font-size: 14px;
  border-radius: 8px;
  margin-top: 6px;
}

a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Header */
.site-header {
  padding: 28px 6vw;
  position: relative;
  z-index: 10;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 15px;
}

.nav-links a:not(.btn) {
  color: var(--text-nav);
}
.nav-links a:not(.btn):hover {
  color: var(--accent);
}

/* Hero */
.hero {
  position: relative;
  padding: 80px 6vw 120px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.05;
  max-width: 900px;
  margin: 0 0 26px;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-hero-sub);
  max-width: 560px;
  margin: 0 0 44px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Strip */
.strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 6vw;
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  color: var(--text-strip);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* JMAP */
.jmap {
  padding: 120px 6vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
}

.jmap-copy p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-body);
  margin: 0 0 20px;
}
.jmap-copy p:last-child {
  margin-bottom: 0;
}

.jmap-points {
  background: var(--surface-2);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.point .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
  flex-shrink: 0;
}

.point-title {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 4px;
}

.point-desc {
  font-size: 15px;
  color: var(--text-point-desc);
  line-height: 1.55;
}

/* Shared section headings */
.jmap-copy h2,
.section-head h2,
.download h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(30px, 3.4vw, 42px);
}
.jmap-copy h2 {
  line-height: 1.15;
  margin: 0 0 22px;
}
.section-head h2 {
  margin: 0;
}
.download h2 {
  margin: 0 0 16px;
}

/* Features */
.features {
  padding: 60px 6vw 120px;
  max-width: var(--container);
  margin: 0 auto;
}

.section-head {
  text-align: center;
  margin-bottom: 64px;
}

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

.feature-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}

.feature-card h3 {
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-feature-desc);
}

/* Download */
.download {
  padding: 100px 6vw 140px;
  text-align: center;
  position: relative;
}

.download-sub {
  font-size: 17px;
  color: var(--text-body);
  margin: 0 0 48px;
}

.download-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.download-card {
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 28px 30px;
  width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--text);
}

.download-card h3 {
  font-weight: 600;
  font-size: 17px;
}

.platform-req {
  font-size: 13px;
  color: var(--text-strip);
  text-transform: none;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 36px 6vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-footer);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  color: inherit;
}
.footer-links a:hover {
  color: var(--accent);
}

/* Responsive */
@media (max-width: 900px) {
  .jmap {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 80px 6vw;
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    gap: 14px 22px;
  }
  .hero {
    padding: 60px 6vw 90px;
  }
  .download-card {
    width: 100%;
    max-width: 280px;
  }
}
