/* 4SETS website — shared styles */

:root {
  --bg: #13161D;
  --surface: #1F2330;
  --surface-raised: #2A2F3D;
  --border: #2A2F3D;
  --text: #F0F2F8;
  --text-secondary: #9CA3AF;
  --text-muted: #6B7280;
  --accent: #38BDF8;
  --on-accent: #13161D;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ─── Layout ──────────────────────────────────────────────────── */

.wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* ─── Top bar ─────────────────────────────────────────────────── */

.topbar {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  position: sticky;
  top: 0;
  background: rgba(19, 22, 29, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  z-index: 10;
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 22px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 2px;
  text-decoration: none;
}

.brand:hover { text-decoration: none; }

.topbar nav { display: flex; gap: 24px; }
.topbar nav a { color: var(--text-secondary); font-size: 14px; font-weight: 600; }
.topbar nav a:hover { color: var(--text); text-decoration: none; }

/* ─── Hero ────────────────────────────────────────────────────── */

.hero {
  padding: 88px 0 64px;
  text-align: center;
}

.hero-mark {
  font-size: 96px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 4px;
  line-height: 1;
  margin-bottom: 16px;
}

.hero-tagline {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-pitch {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.55;
}

.hero-cta {
  display: inline-block;
  padding: 14px 28px;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 12px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.5px;
}

.hero-cta:hover { transform: translateY(-1px); text-decoration: none; }
.hero-cta-note {
  display: block;
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 13px;
}

/* ─── Slider / carousel ───────────────────────────────────────── */

.slider {
  padding: 56px 0 32px;
  overflow: hidden;
}

.slider-track {
  display: flex;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}

.slider-track::-webkit-scrollbar { display: none; }

.slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  padding: 0 24px;
}

.slide-inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.slide-visual {
  width: 100%;
  max-width: 280px;
  height: 200px;
  margin: 0 auto 24px;
  display: block;
}

.slide-headline {
  font-size: 26px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.slide-text {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 200ms ease, width 200ms ease;
  font: inherit;
}

.slider-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

@media (max-width: 600px) {
  .slide-inner { padding: 28px 22px; border-radius: 16px; }
  .slide-headline { font-size: 22px; }
  .slide-visual { height: 170px; max-width: 240px; }
}

/* ─── Sections ────────────────────────────────────────────────── */

.section {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.section h2 {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.lede {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.lede strong { color: var(--text); font-weight: 700; }

/* ─── Feature grid ────────────────────────────────────────────── */

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

@media (max-width: 720px) {
  .features { grid-template-columns: 1fr; }
}

.feature {
  background: var(--surface);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border);
}

.feature-icon {
  width: 36px;
  height: 36px;
  background: var(--surface-raised);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 6px;
}

.feature p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ─── "What it isn't" list ────────────────────────────────────── */

.contra {
  list-style: none;
  display: grid;
  gap: 18px;
}

.contra li {
  background: var(--surface);
  border-radius: 14px;
  padding: 18px 22px;
  border: 1px solid var(--border);
}

.contra strong {
  display: block;
  color: var(--text);
  font-weight: 800;
  margin-bottom: 4px;
}

.contra span {
  color: var(--text-secondary);
  font-size: 14px;
}

/* ─── Footer ──────────────────────────────────────────────────── */

footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 32px;
}

footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

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

.footer-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
}

.footer-meta {
  color: var(--text-muted);
  font-size: 13px;
}

/* ─── Long-form prose (privacy/terms pages) ───────────────────── */

.prose {
  padding: 56px 0 80px;
}

.prose h1 {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.prose .updated {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 32px;
}

.prose h2 {
  font-size: 22px;
  font-weight: 800;
  margin-top: 36px;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.prose h3 {
  font-size: 17px;
  font-weight: 800;
  margin-top: 24px;
  margin-bottom: 10px;
}

.prose p {
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.7;
}

.prose ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 16px;
}

.prose ul li {
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.6;
}

.prose hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

.prose strong { color: var(--text); font-weight: 700; }

.prose .small {
  color: var(--text-muted);
  font-size: 13px;
  font-style: italic;
}

/* ─── Mobile tweaks ──────────────────────────────────────────── */

@media (max-width: 600px) {
  .hero { padding: 56px 0 40px; }
  .hero-mark { font-size: 64px; letter-spacing: 3px; }
  .hero-tagline { font-size: 22px; }
  .hero-pitch { font-size: 16px; }
  .section { padding: 48px 0; }
  .section h2 { font-size: 22px; }
  .topbar nav { gap: 16px; }
}
