/* ── Lateshift Marketing Page ── */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;600&display=swap');

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

/* ── Tokens ── */
:root {
  --font: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Dark palette */
  --d-bg0:       #09091a;
  --d-bg1:       #0f0f26;
  --d-bg2:       #161636;
  --d-border:    #25254e;
  --d-border2:   #343468;
  --d-txt0:      #eceaf8;
  --d-txt1:      #8480b0;
  --d-txt2:      #48456a;
  --d-acc:       #7360f5;
  --d-acc-sub:   #110d2c;
  --d-acc-border:#2a1f62;
  --d-green:     #4db887;

  /* Light palette */
  --l-bg0:       #f6f6fb;
  --l-bg1:       #ffffff;
  --l-bg2:       #f1f0f8;
  --l-border:    #e6e5ef;
  --l-border2:   #d3d2e2;
  --l-txt0:      #1b1930;
  --l-txt1:      #5c5878;
  --l-txt2:      #9c98b2;
  --l-acc:       #6b57f0;
  --l-acc-sub:   #efecfe;
  --l-acc-border:#dbd4fb;
  --l-green:     #2f9e6f;
}

/* ── Base ── */
body {
  font-family: var(--font);
  overflow-x: hidden;
  background: var(--d-bg0);
}

/* ── Animations ── */
@keyframes glowpulse {
  0%, 100% { opacity: .5; }
  50%       { opacity: 1; }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
@keyframes fillin {
  0%, 6%    { opacity: 0; transform: translateY(9px) scale(.98); }
  18%, 84%  { opacity: 1; transform: none; }
  100%      { opacity: 0; transform: translateY(9px) scale(.98); }
}

/* ══════════════════════════
   DARK BAND (nav / hero / cta / footer)
══════════════════════════ */
.dark-band {
  background: radial-gradient(120% 90% at 78% 0%, #171041 0%, var(--d-bg0) 58%);
  color: var(--d-txt0);
  position: relative;
  overflow: hidden;
  color-scheme: dark;
}
.dark-band--cta {
  background: radial-gradient(120% 120% at 50% 0%, #171041 0%, var(--d-bg0) 55%);
}

/* ── Nav ── */
.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  color: var(--d-txt1);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 12px;
  transition: color .12s;
}
.nav-link:hover { color: var(--d-txt0); }

/* ── Logo ── */
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: inherit;
}
.logo-mark {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--d-acc);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px -2px var(--d-acc);
  flex-shrink: 0;
}
.logo-mark--sm {
  width: 22px;
  height: 22px;
  box-shadow: none;
}
.logo-mark-inner {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: #fff;
}
.logo-mark--sm .logo-mark-inner { width: 8px; height: 8px; }
.logo-text {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* ── Shared button ── */
.btn {
  background: var(--d-acc);
  color: #fff;
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  padding: 9px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: filter .12s;
  white-space: nowrap;
}
.btn:hover { filter: brightness(1.1); }
.btn--success {
  background: var(--d-green) !important;
  filter: none !important;
  cursor: default;
}

/* ── Accent colour helper ── */
.acc { color: var(--d-acc); }
.light-body .acc { color: var(--l-acc); }

/* ══════════════════════════
   HERO
══════════════════════════ */
.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 28px 88px;
  display: flex;
  gap: 56px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-content {
  flex: 1 1 440px;
  min-width: 300px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border: 1px solid var(--d-acc-border);
  background: var(--d-acc-sub);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--d-acc);
  margin-bottom: 22px;
}
.badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--d-acc);
  box-shadow: 0 0 8px var(--d-acc);
  animation: glowpulse 2.4s ease-in-out infinite;
}

.hero-title {
  font-weight: 600;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  text-wrap: balance;
}
.hero-title span { display: block; }

.hero-sub {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.6;
  color: var(--d-txt1);
  max-width: 30em;
  margin: 0 0 28px;
}

/* Waitlist row */
.waitlist-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 440px;
}
.waitlist-row--center { margin: 0 auto; }
.email-input {
  flex: 1 1 220px;
  min-width: 0;
  background: var(--d-bg1);
  border: 1px solid var(--d-border2);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--d-txt0);
  outline: none;
}
.email-input::placeholder { color: var(--d-txt2); }
.email-input:focus { border-color: var(--d-acc); }
.disclaimer {
  font-size: 12px;
  color: var(--d-txt2);
  margin-top: 12px;
}


/* ── Demo widget ── */
.demo-widget {
  flex: 0 1 360px;
  min-width: 288px;
  animation: floaty 7s ease-in-out infinite;
}
.demo-card {
  background: var(--d-bg1);
  border: 1px solid var(--d-border);
  border-radius: 16px;
  padding: 18px 18px 20px;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.8);
}
.demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.demo-today { font-size: 15px; font-weight: 600; }
.demo-date {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--d-txt2);
}
.demo-blocks { display: flex; flex-direction: column; gap: 6px; }

.block {
  position: relative;
  overflow: hidden;
  border-radius: 7px;
  padding: 8px 11px;
  box-shadow: 0 1px 3px rgba(0,0,0,.35);
}
.block--ext {
  background: color-mix(in srgb, var(--d-bg2) 78%, transparent);
  border: 1px solid var(--d-border2);
}
.block--color {
  background: color-mix(in srgb, var(--c) 14%, var(--d-bg2));
  border: 1px solid var(--d-border);
  animation: fillin 6s ease-in-out infinite;
}
.block-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  border-radius: 7px 7px 0 0;
}
.block-name { font-size: 12px; font-weight: 500; }
.block-name.muted { color: var(--d-txt1); }
.block-time { font-size: 9px; color: var(--d-txt2); margin-top: 2px; }

.block-divider {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 5px 0 2px;
}
.divider-line { flex: 1; height: 1px; background: var(--d-acc); opacity: .3; }
.divider-label {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--d-acc);
  opacity: .75;
  white-space: nowrap;
}

.demo-summary {
  margin-top: 14px;
  padding: 11px 12px;
  background: var(--d-bg2);
  border: 1px solid var(--d-border2);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}
.demo-summary::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--d-acc), transparent);
}
.summary-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--d-acc);
  margin-bottom: 5px;
}
.summary-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--d-acc); }
.summary-text { font-size: 12px; color: var(--d-txt0); line-height: 1.5; }

/* ══════════════════════════
   LIGHT BODY
══════════════════════════ */
.light-body {
  background: var(--l-bg0);
  color: var(--l-txt0);
}

/* ── Shared section layout ── */
.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 88px 28px 40px;
}
.section--why { padding: 48px 28px; }
.section--faq { max-width: 760px; padding: 48px 28px 72px; }

.section-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--l-acc);
  font-weight: 600;
  margin-bottom: 14px;
}
.section-h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 14px;
  color: var(--l-txt0);
}
.section-h2--sm { font-size: clamp(26px, 3.2vw, 38px); }
.section-sub { font-size: 16px; color: var(--l-txt1); line-height: 1.6; }

/* ── Steps ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.step-card {
  background: var(--l-bg1);
  border: 1px solid var(--l-border);
  border-radius: 16px;
  padding: 26px 24px;
}
.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--l-acc-sub);
  color: var(--l-acc);
  margin-bottom: 16px;
}
.step-n {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--l-txt2);
  margin-bottom: 6px;
}
.step-title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 7px;
  color: var(--l-txt0);
}
.step-body { font-size: 13.5px; color: var(--l-txt1); line-height: 1.55; }

/* ── Why / Compare ── */
.why-card {
  background: var(--l-bg1);
  border: 1px solid var(--l-border);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 56px);
}
.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.compare-col {
  border: 1px solid var(--l-border);
  border-radius: 16px;
  padding: 26px;
  background: var(--l-bg2);
}
.compare-col--ls {
  border-color: var(--l-acc-border);
  background: var(--l-acc-sub);
}
.compare-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--l-txt2);
  margin-bottom: 18px;
}
.compare-label--ls {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--l-acc);
}
.ls-mark {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: var(--l-acc);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ls-mark-inner { width: 6px; height: 6px; background: #fff; border-radius: 2px; }
.compare-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  font-size: 14px;
  color: var(--l-txt1);
}
.compare-row--ls { color: var(--l-txt0); font-weight: 500; }
.cmp-dash { color: var(--l-txt2); margin-top: 1px; }
.cmp-check { color: var(--l-acc); margin-top: 1px; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  background: var(--l-bg1);
  border: 1px solid var(--l-border);
  border-radius: 12px;
  overflow: hidden;
}
.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-trigger::-webkit-details-marker { display: none; }
.faq-q {
  font-size: 15px;
  font-weight: 600;
  color: var(--l-txt0);
}
.faq-icon {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  color: var(--l-acc);
  background: var(--l-acc-sub);
  transition: transform .18s;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-body {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--l-txt1);
  line-height: 1.6;
}

/* ══════════════════════════
   CTA SECTION
══════════════════════════ */
.cta-section {
  max-width: 720px;
  margin: 0 auto;
  padding: 96px 28px 80px;
  text-align: center;
}
.cta-h2 {
  font-weight: 600;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}
.cta-sub {
  font-size: 17px;
  color: var(--d-txt1);
  line-height: 1.6;
  margin: 0 auto 30px;
  max-width: 26em;
}

/* ══════════════════════════
   FOOTER
══════════════════════════ */
.footer { border-top: 1px solid var(--d-border); }
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-link { color: var(--d-txt1); font-size: 13px; text-decoration: none; }
.footer-link:hover { color: var(--d-txt0); }
.footer-copy { font-size: 12px; color: var(--d-txt2); }

/* ══════════════════════════
   RESPONSIVE
══════════════════════════ */
@media (max-width: 600px) {
  .nav-link { display: none; }
  .hero { gap: 40px; padding-bottom: 56px; }
  .demo-widget { min-width: 0; width: 100%; }
}

/* ══════════════════════════
   LEGAL PAGES
══════════════════════════ */

.legal-band {
  background: radial-gradient(120% 90% at 78% 0%, #171041 0%, var(--d-bg0) 58%);
}

.legal-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 28px 76px;
}

.legal-title {
  max-width: 780px;
  margin-bottom: 18px;
}

.legal-sub {
  max-width: 36em;
  margin-bottom: 0;
}

.legal-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 28px 88px;
}

.legal-doc {
  max-width: 820px;
  margin: 0 auto;
  background: var(--l-bg1);
  border: 1px solid var(--l-border);
  border-radius: 24px;
  padding: clamp(28px, 5vw, 56px);
}

.legal-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--l-border);
  font-size: 13px;
  color: var(--l-txt2);
}

.legal-meta strong {
  color: var(--l-txt1);
  font-weight: 500;
}

.legal-section {
  padding-bottom: 36px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--l-border);
}

.legal-section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.legal-section h2 {
  margin: 0 0 12px;
  color: var(--l-txt0);
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.legal-section p,
.legal-section li,
.legal-section address {
  color: var(--l-txt1);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 400;
}

.legal-section p {
  margin: 0 0 14px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

.legal-section li {
  margin-bottom: 10px;
  padding-left: 2px;
}

.legal-section li:last-child {
  margin-bottom: 0;
}

.legal-section strong {
  color: var(--l-txt0);
  font-weight: 600;
}

.legal-section a {
  color: var(--l-acc);
  text-decoration: none;
  font-weight: 500;
}

.legal-section a:hover {
  text-decoration: underline;
}

.legal-section address {
  font-style: normal;
}

@media (max-width: 600px) {
  .legal-hero {
    padding: 44px 28px 56px;
  }

  .legal-main {
    padding: 48px 20px 64px;
  }

  .legal-doc {
    border-radius: 16px;
    padding: 24px 20px;
  }

  .legal-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 32px;
  }

  .legal-section {
    padding-bottom: 28px;
    margin-bottom: 28px;
  }
}