/* ============================================================
   CrossLite landing page
   Accent green: #1a7f64
   ============================================================ */

:root {
  --accent: #1a7f64;
  --accent-dark: #14644f;
  --accent-light: #e6f4f0;
  --ink: #15211d;
  --ink-soft: #4a5a54;
  --bg: #ffffff;
  --bg-soft: #f5f9f7;
  --border: #dde7e3;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(21, 33, 29, 0.08);
  --max-w: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }

a { color: var(--accent); }

.accent { color: var(--accent); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 10px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-dark); }

.btn-secondary {
  background: var(--accent-light);
  color: var(--accent-dark);
}
.btn-secondary:hover { background: #d6ece5; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}
.site-nav a:hover { color: var(--accent); }

.site-nav .nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  border-radius: 9px;
  font-weight: 600;
}
.site-nav .nav-cta:hover { background: var(--accent-dark); color: #fff; }

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, var(--accent-light), transparent 70%),
    var(--bg);
  padding: 72px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin: 0 0 18px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 0.4em;
}

.lede {
  font-size: 1.13rem;
  color: var(--ink-soft);
  max-width: 34em;
  margin: 0 0 28px;
}

.section-lede {
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 40em;
  margin: 0 0 36px;
}

/* ---------- Waitlist form ---------- */

.waitlist-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
}

.waitlist-form input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  font-size: 1rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}

.waitlist-form input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26, 127, 100, 0.15);
}

.form-note {
  font-size: 0.86rem;
  color: var(--ink-soft);
  max-width: 36em;
  margin: 10px 0 0;
}

.form-note.is-success { color: var(--accent-dark); font-weight: 600; }
.form-note.is-error { color: #b3403a; font-weight: 600; }

.hero-points {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
}

.hero-points li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"><path d="M5 13l4 4 10-10"/></svg>') center / 10px no-repeat;
}

/* ---------- Hero visual ---------- */

.hero-visual {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
}

.card-mock {
  position: relative;
  width: 170px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
}

.ebay-card { transform: translateY(18px); }
.vinted-card { transform: translateY(-12px); }

.card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-light);
  border-radius: 6px;
  padding: 3px 8px;
  margin-bottom: 10px;
}

.ebay-tag { color: #6b5d12; background: #faf3d3; }

.mock-photo {
  height: 86px;
  border-radius: 9px;
  background: linear-gradient(135deg, #cfe7df, #9fcdc0);
  margin-bottom: 10px;
}

.ebay-card .mock-photo {
  background: linear-gradient(135deg, #cfe7df, #9fcdc0);
}

.mock-line {
  height: 9px;
  border-radius: 5px;
  background: #e6edea;
  margin-bottom: 7px;
}

.w-80 { width: 80%; }
.w-50 { width: 50%; }

.mock-price {
  font-weight: 800;
  color: var(--ink);
  margin-top: 6px;
}

.mock-btn {
  margin-top: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  text-align: center;
  border-radius: 7px;
  padding: 7px 4px;
}

.flow-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
  gap: 2px;
}

/* ---------- Why ---------- */

.why {
  background: var(--bg-soft);
  padding: 72px 0;
}

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

.why-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.why-card h3 { font-size: 1.1rem; }
.why-card p { color: var(--ink-soft); margin: 0; font-size: 0.97rem; }

/* ---------- How it works ---------- */

.how { padding: 72px 0; }

.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 0;
  padding: 0;
}

.step {
  position: relative;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  margin-bottom: 14px;
}

.step h3 { font-size: 1.08rem; }
.step p { color: var(--ink-soft); margin: 0; font-size: 0.97rem; }

/* ---------- Pricing ---------- */

.pricing {
  background: var(--bg-soft);
  padding: 72px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  gap: 24px;
  justify-content: center;
}

.plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.plan-pro {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow);
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.plan h3 { font-size: 1.2rem; margin-bottom: 4px; }

.price { margin: 0; color: var(--ink-soft); }
.price .amount {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.plan-sub {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 4px 0 18px;
}

.plan-features {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  flex: 1;
}

.plan-features li {
  position: relative;
  padding: 7px 0 7px 28px;
  border-bottom: 1px dashed var(--border);
  font-size: 0.97rem;
}

.plan-features li:last-child { border-bottom: none; }

.plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-light) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%231a7f64" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"><path d="M5 13l4 4 10-10"/></svg>') center / 10px no-repeat;
}

.pricing-footnote {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 28px 0 0;
}

/* ---------- FAQ ---------- */

.faq { padding: 72px 0; }

.faq-inner { max-width: 760px; }

.faq h2 { margin-bottom: 28px; }

.faq details {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  background: #fff;
  overflow: hidden;
}

.faq details[open] { border-color: var(--accent); }

.faq summary {
  cursor: pointer;
  padding: 16px 48px 16px 20px;
  font-weight: 600;
  list-style: none;
  position: relative;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.15s ease;
}

.faq details[open] summary::after {
  content: "–";
}

.faq-body {
  padding: 0 20px 18px;
  color: var(--ink-soft);
  font-size: 0.97rem;
}

.faq-body ul { padding-left: 20px; }
.faq-body li { margin-bottom: 6px; }

/* ---------- Final CTA ---------- */

.final-cta {
  background: linear-gradient(160deg, var(--accent), var(--accent-dark));
  color: #fff;
  padding: 72px 0;
  text-align: center;
}

.final-cta h2 { color: #fff; }
.final-cta .section-lede { color: rgba(255, 255, 255, 0.85); margin-left: auto; margin-right: auto; }

.waitlist-form-center { margin: 0 auto; }

.final-cta .btn-primary {
  background: #fff;
  color: var(--accent-dark);
}
.final-cta .btn-primary:hover { background: #e9f5f1; }

.final-cta .form-note { color: rgba(255, 255, 255, 0.8); margin-left: auto; margin-right: auto; }
.final-cta .form-note.is-success { color: #fff; }
.final-cta .form-note.is-error { color: #ffd9d6; }

.final-cta .waitlist-form input[type="email"] { border-color: transparent; }

/* ---------- Footer ---------- */

.site-footer {
  background: #10201b;
  color: #b9cdc6;
  padding: 48px 0 28px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-logo {
  color: #fff;
  font-size: 1.1rem;
}

.footer-tag {
  margin: 8px 0 0;
  font-size: 0.92rem;
  color: #8fa8a0;
}

.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #b9cdc6;
  text-decoration: none;
  font-size: 0.95rem;
}
.footer-nav a:hover { color: #fff; }

.footer-legal {
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

.footer-legal p {
  font-size: 0.8rem;
  color: #8fa8a0;
  margin: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding: 52px 0 60px; }
  .why-grid, .steps { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: minmax(0, 460px); }
}

@media (max-width: 560px) {
  .site-nav a:not(.nav-cta) { display: none; }
  .waitlist-form { flex-direction: column; }
  .waitlist-form .btn { width: 100%; }
  .hero-visual { gap: 8px; }
  .card-mock { width: 44%; min-width: 130px; }
  .footer-row { flex-direction: column; }
}
