/* ─────────────────────────────────────────────────────────────────
   Spindle — main.css
   Brand: Matte Yellow #FFD060 · Warm Charcoal #141210
   ───────────────────────────────────────────────────────────────── */

:root {
  --yellow:       #FFD060;
  --yellow-hover: #FFD87A;
  --yellow-glow:  rgba(255, 208, 96, 0.22);
  --yellow-dim:   rgba(255, 208, 96, 0.08);
  --yellow-border:rgba(255, 208, 96, 0.20);

  --bg:           #141210;
  --bg-card:      #1c1a17;
  --bg-nav:       rgba(20, 18, 16, 0.82);

  --text:         #f0ede8;
  --text-muted:   #7a736a;
  --border:       #272320;

  --radius-card:  16px;
  --radius-icon:  10px;
  --max-width:    960px;
}

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

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text",
               "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  min-height: 100vh;
}

a   { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 980px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.015em;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease,
              color 0.18s ease, border-color 0.18s ease;
  user-select: none;
  -webkit-user-select: none;
}

.btn-primary {
  background: var(--yellow);
  color: #0e0c09;
}
.btn-primary:hover {
  background: var(--yellow-hover);
  box-shadow: 0 0 36px var(--yellow-glow), 0 4px 20px rgba(0, 0, 0, 0.5);
  transform: translateY(-1px);
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-nav {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 7px 18px;
  font-size: 14px;
}
.btn-nav:hover {
  border-color: var(--yellow-border);
  color: var(--yellow);
}

/* ─── Nav ────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  background: var(--bg-nav);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.025em;
}
.nav-logo img {
  border-radius: 7px;
  flex-shrink: 0;
}

/* ─── Hero ───────────────────────────────────────────────────────── */
.hero {
  padding: 148px 28px 108px;
  text-align: center;
}

.hero-inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.hero-icon {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.55),
              0 2px 8px  rgba(0, 0, 0, 0.3);
}

.hero-title {
  font-size: clamp(36px, 5.8vw, 58px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--text);
}
.hero-title em {
  font-style: normal;
  color: var(--yellow);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.65;
  letter-spacing: -0.01em;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  margin-top: 6px;
}

.req-note {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: -0.005em;
}

/* ─── Features ───────────────────────────────────────────────────── */
.features {
  padding: 20px 28px 100px;
}

.features-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px 32px 34px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
  border-color: var(--yellow-border);
  box-shadow: 0 0 0 1px var(--yellow-border) inset;
}

.feature-icon {
  width: 46px;
  height: 46px;
  background: var(--yellow-dim);
  border-radius: var(--radius-icon);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  flex-shrink: 0;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 620;
  letter-spacing: -0.022em;
  line-height: 1.3;
  color: var(--text);
}

.feature-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  letter-spacing: -0.005em;
}

/* ─── Download CTA ───────────────────────────────────────────────── */
.download-cta {
  padding: 0 28px 120px;
  text-align: center;
}

.download-inner {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 60px 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
}

.download-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.download-inner h2 {
  font-size: clamp(26px, 3.8vw, 38px);
  font-weight: 700;
  letter-spacing: -0.032em;
  line-height: 1.15;
}

.download-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-top: -4px;
}

/* ─── Footer ─────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 24px 28px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}

.footer a:hover { color: var(--yellow); }

/* ─── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 660px) {
  .features-inner {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 120px 20px 80px;
  }
  .hero-icon {
    width: 96px;
    height: 96px;
    border-radius: 22px;
  }
  .hero-subtitle {
    font-size: 17px;
  }
  .feature-card {
    padding: 24px 24px 26px;
  }
  .download-inner {
    padding: 40px 28px;
  }
  .features {
    padding: 20px 20px 80px;
  }
  .download-cta {
    padding: 0 20px 80px;
  }
}
