/* Serpin — promotional site styles */

:root {
  --bg: #0c0d0f;
  --bg-elev: #141619;
  --bg-card: #16181c;
  --border: #24272c;
  --accent: #dff24a;
  --accent-bright: #e8fa45;
  --text: #f4f6f5;
  --text-muted: #9aa0a6;
  --text-dim: #6b7177;
  --radius: 16px;
  --radius-lg: 24px;
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Logo mark ---------- */
.mark {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 13, 15, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.2px;
}
.brand:hover {
  text-decoration: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
}
.nav-links a:hover {
  color: var(--text);
  text-decoration: none;
}
.nav-links a.active {
  color: var(--text);
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--text);
  cursor: pointer;
  padding: 8px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.12s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--accent);
  color: #10120a;
}
.btn-primary:hover {
  background: var(--accent-bright);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 40px;
}
.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 720px;
  background: radial-gradient(
    circle,
    rgba(223, 242, 74, 0.16) 0%,
    rgba(223, 242, 74, 0) 62%
  );
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}
h1 {
  font-size: clamp(38px, 5.4vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  font-weight: 800;
}
h1 .hl {
  color: var(--accent);
}
.lede {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 34ch;
  margin: 0 0 32px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.store-note {
  color: var(--text-dim);
  font-size: 13px;
  margin-top: 16px;
}

/* Phone mockup */
.phone {
  justify-self: center;
  width: 280px;
  max-width: 78vw;
  border-radius: 42px;
  padding: 12px;
  background: linear-gradient(160deg, #26292f, #101216);
  border: 1px solid var(--border);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}
.phone img {
  border-radius: 32px;
  width: 100%;
}

/* ---------- Sections ---------- */
section {
  padding: 72px 0;
}
.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head .eyebrow {
  justify-content: center;
}
h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  font-weight: 800;
}
.section-head p {
  color: var(--text-muted);
  font-size: 17px;
  margin: 0;
}

/* Feature cards */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover {
  border-color: rgba(223, 242, 74, 0.4);
  transform: translateY(-3px);
}
.card .ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(223, 242, 74, 0.1);
  color: var(--accent);
  margin-bottom: 18px;
}
.card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
}
.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

/* Roles split */
.roles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.role {
  background: linear-gradient(180deg, var(--bg-elev), var(--bg-card));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.role .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 5px 12px;
  border: 1px solid rgba(223, 242, 74, 0.3);
  border-radius: 999px;
  margin-bottom: 18px;
}
.role h3 {
  font-size: 24px;
  margin: 0 0 12px;
  font-weight: 800;
}
.role ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}
.role li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 15px;
}
.role li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  padding: 8px 4px;
}
.step .num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #10120a;
  background: var(--accent);
  margin-bottom: 16px;
}
.step h3 {
  margin: 0 0 6px;
  font-size: 18px;
}
.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

/* CTA band */
.cta {
  text-align: center;
  background: linear-gradient(180deg, rgba(223, 242, 74, 0.06), transparent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta h2 {
  margin-bottom: 16px;
}
.cta p {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 46ch;
  margin: 0 auto 28px;
}

/* ---------- Content pages (privacy / support) ---------- */
.page-hero {
  padding: 72px 0 24px;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-size: clamp(32px, 5vw, 46px);
  margin-bottom: 10px;
}
.page-hero p {
  color: var(--text-muted);
  margin: 0;
}
.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 0 40px;
}
.prose h2 {
  font-size: 24px;
  margin: 40px 0 12px;
  scroll-margin-top: 90px;
}
.prose h3 {
  font-size: 18px;
  margin: 24px 0 8px;
}
.prose p,
.prose li {
  color: var(--text-muted);
  font-size: 16px;
}
.prose ul {
  padding-left: 22px;
}
.prose li {
  margin-bottom: 8px;
}
.prose strong {
  color: var(--text);
}
.callout {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 24px 0;
}
.callout p {
  margin: 0;
}

/* FAQ / accordion */
.faq {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-card);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
  padding: 20px 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: inherit;
}
.faq-q .chev {
  flex: 0 0 auto;
  transition: transform 0.2s ease;
  color: var(--accent);
}
.faq-item.open .faq-q .chev {
  transform: rotate(180deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-a-inner {
  padding: 0 22px 20px;
  color: var(--text-muted);
  font-size: 15px;
}

/* Support cards */
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto 8px;
}
.support-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.support-card .ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(223, 242, 74, 0.1);
  color: var(--accent);
  margin: 0 auto 16px;
}
.support-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
}
.support-card p {
  margin: 0 0 14px;
  color: var(--text-muted);
  font-size: 14px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 44px 0;
  margin-top: 24px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 14px;
}
.footer-links a:hover {
  color: var(--text);
  text-decoration: none;
}
.footer-copy {
  color: var(--text-dim);
  font-size: 14px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero .lede {
    margin-left: auto;
    margin-right: auto;
  }
  .eyebrow {
    justify-content: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .phone {
    order: -1;
    margin-bottom: 12px;
  }
  .features,
  .steps,
  .support-grid {
    grid-template-columns: 1fr;
  }
  .roles {
    grid-template-columns: 1fr;
  }
  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--bg-elev);
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 16px;
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid var(--border);
  }
  .nav-links .btn {
    margin-top: 12px;
  }
  .nav-toggle {
    display: block;
  }
}
