:root {
  color-scheme: light;
  --bg: #0b1020;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.12);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.72);
  --muted-2: rgba(255, 255, 255, 0.6);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --accent: #7cf1c8;
  --accent-2: #7cc7ff;
  --danger: #ff6b6b;
  --radius: 16px;
  --radius-sm: 12px;
  --max: 1100px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  line-height: 1.5;
  color: var(--text);
  background: radial-gradient(1100px 600px at 20% 0%, rgba(124, 199, 255, 0.2), transparent 55%),
    radial-gradient(900px 520px at 80% 10%, rgba(124, 241, 200, 0.16), transparent 55%),
    linear-gradient(180deg, #070a14, var(--bg) 32%, #070a14);
}

body[data-theme="light"] {
  --bg: #eef4ff;
  --panel: rgba(255, 255, 255, 0.86);
  --panel-2: rgba(255, 255, 255, 0.78);
  --border: rgba(20, 50, 84, 0.14);
  --text: #122844;
  --muted: rgba(18, 40, 68, 0.78);
  --muted-2: rgba(18, 40, 68, 0.62);
  --shadow: 0 20px 56px rgba(22, 52, 92, 0.18);
  --danger: #b02222;
  color-scheme: light;
  background: #eef4ff;
}

body[data-theme="light"] .skip-link {
  background: #f3f8ff;
}

body[data-theme="light"] .site-header {
  background: rgba(249, 252, 255, 0.8);
  border-bottom: 1px solid rgba(20, 50, 84, 0.12);
}

body[data-theme="light"] .nav a:hover {
  background: rgba(18, 40, 68, 0.08);
}

body[data-theme="light"] .nav-cta {
  background: rgba(77, 201, 163, 0.2);
  border-color: rgba(46, 140, 112, 0.32);
}

body[data-theme="light"] .hero-title-overlay {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(20, 50, 84, 0.2);
}

body[data-theme="light"] .hero-title-overlay h1 {
  text-shadow: none;
}

body[data-theme="light"] .button {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(20, 50, 84, 0.18);
}

body[data-theme="light"] .button:hover {
  background: rgba(242, 248, 255, 0.98);
}

body[data-theme="light"] .section-alt {
  background: transparent;
  border-top-color: transparent;
  border-bottom-color: transparent;
}

body[data-theme="light"] .usage-card {
  background: rgba(255, 255, 255, 0.7);
}

body[data-theme="light"] .image-modal-dialog {
  background: rgba(244, 248, 255, 0.98);
  border-color: rgba(20, 50, 84, 0.2);
}

body[data-theme="light"] .image-modal-dialog img {
  background: rgba(236, 242, 252, 1);
}

body[data-theme="light"] .image-modal-close {
  background: rgba(238, 245, 255, 0.92);
  border-color: rgba(20, 50, 84, 0.22);
}

body[data-theme="light"] .image-modal-close:hover {
  background: rgba(222, 234, 251, 0.98);
}

body[data-theme="light"] .price-suffix {
  color: rgba(18, 40, 68, 0.8);
}

body[data-theme="light"] label span {
  color: rgba(18, 40, 68, 0.9);
}

body[data-theme="light"] input,
body[data-theme="light"] select,
body[data-theme="light"] textarea {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(20, 50, 84, 0.18);
}

body[data-theme="light"] input::placeholder {
  color: rgba(18, 40, 68, 0.45);
}

body[data-theme="light"] input:focus,
body[data-theme="light"] select:focus,
body[data-theme="light"] textarea:focus {
  border-color: rgba(72, 137, 227, 0.6);
  box-shadow: 0 0 0 4px rgba(72, 137, 227, 0.18);
}

body[data-theme="light"] .captcha-image-wrap {
  background: rgba(255, 255, 255, 0.76);
}

body[data-theme="light"] details {
  background: rgba(255, 255, 255, 0.72);
}

body[data-theme="light"] summary {
  color: rgba(14, 34, 60, 0.95);
}

body[data-theme="light"] .site-footer {
  background: rgba(255, 255, 255, 0.52);
  border-top-color: rgba(20, 50, 84, 0.12);
}

body[data-theme="light"] .footer-note {
  color: rgba(18, 40, 68, 0.68);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  padding: 10px 12px;
  background: #0b1227;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  z-index: 1000;
}

.skip-link:focus {
  left: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(7, 10, 20, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.brand-name {
  white-space: nowrap;
  font-size: clamp(26px, 2vw, 34px);
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}

.nav a {
  padding: 10px 10px;
  border-radius: 10px;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  color: var(--text);
}

.nav-cta {
  background: rgba(124, 241, 200, 0.12);
  border: 1px solid rgba(124, 241, 200, 0.24);
  color: var(--text);
}

.nav-contact-short {
  display: none;
}

.hero {
  padding: 28px 0 30px;
}

.hero-banner {
  position: relative;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-banner-img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-title-overlay {
  position: absolute;
  left: 16px;
  bottom: 16px;
  max-width: min(720px, calc(100% - 32px));
  background: rgba(8, 14, 28, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 12px;
  padding: 14px 16px;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.hero-title-overlay h1 {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 34px);
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.45);
}

.hero-title-mobile-section {
  display: none;
}

.hero-title-mobile {
  margin: 0;
  font-size: clamp(22px, 6.4vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.eyebrow {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(124, 199, 255, 0.24);
  background: rgba(124, 199, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  font-size: 12px;
}

h1 {
  font-size: clamp(34px, 3.4vw, 56px);
  line-height: 1.05;
  margin: 14px 0 12px;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(26px, 2.2vw, 38px);
  line-height: 1.15;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 18px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 0;
}

.button {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.25px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}

.button:hover {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
}

.button.primary {
  background: linear-gradient(135deg, rgba(124, 241, 200, 0.88), rgba(124, 199, 255, 0.88));
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(6, 12, 22, 0.95);
}

.button.primary:hover {
  filter: brightness(1.03);
}

.button.full {
  width: 100%;
}

.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  color: var(--muted);
  display: grid;
  gap: 10px;
}

.hero-bullets li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.hero-bullets li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 3px rgba(124, 241, 200, 0.1);
  flex: 0 0 auto;
}

.fineprint {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--muted-2);
}

.section {
  padding: 60px 0;
  scroll-margin-top: 90px;
}

.section-alt {
  background: transparent;
  border-top: 0;
  border-bottom: 0;
}

.section-lead {
  margin: 0 0 22px;
  color: var(--muted);
  max-width: 70ch;
}

.intro-section {
  padding: 26px 0 30px;
}

.waitlist-success-section {
  padding: 44px 0 28px;
}

.waitlist-success-card {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.waitlist-success-card h1 {
  color: #2d66dc;
}

.waitlist-success-card .lead {
  margin: 0 auto;
  max-width: 64ch;
}

.intro-card {
  max-width: 780px;
}

.intro-lead {
  margin-bottom: 16px;
}

.actions-section {
  padding: 24px 0 34px;
}

.actions-card {
  max-width: 780px;
  margin: 0 auto;
}

.actions-row {
  margin: 0;
  justify-content: center;
}

.actions-row .button.primary {
  background: linear-gradient(135deg, rgba(255, 196, 124, 0.92), rgba(255, 152, 104, 0.92));
  border-color: rgba(255, 255, 255, 0.24);
  color: rgba(31, 12, 6, 0.96);
}

.actions-row .button.primary:hover {
  filter: brightness(1.04);
}

.usage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.video-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.usage-card {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
  aspect-ratio: 16 / 10;
}

/* In the "See How Melo Is Used" section, remove card borders so we avoid
   a visual "extra divider" line directly under the image row. */
#usage .usage-card {
  border: 0;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.usage-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.usage-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.usage-open {
  all: unset;
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}

.usage-open:focus-visible {
  outline: 3px solid rgba(124, 199, 255, 0.9);
  outline-offset: -3px;
}

.image-modal[hidden] {
  display: none;
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
}

.image-modal-backdrop {
  appearance: none;
  border: 0;
  background: rgba(3, 8, 18, 0.84);
  position: absolute;
  inset: 0;
  cursor: zoom-out;
}

.image-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  background: rgba(7, 12, 22, 0.96);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
}

.image-modal-dialog img {
  width: 100%;
  max-height: calc(100vh - 100px);
  object-fit: contain;
  display: block;
  background: rgba(5, 10, 18, 0.95);
}

.image-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(8, 15, 28, 0.82);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.image-modal-close:hover {
  background: rgba(18, 28, 48, 0.92);
}

body.modal-open {
  overflow: hidden;
}

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

.feature {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.feature-icon {
  display: inline-block;
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}

.price-card {
  position: relative;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.22);
}

.price-card.featured {
  border-color: rgba(124, 241, 200, 0.28);
  background: linear-gradient(180deg, rgba(124, 241, 200, 0.08), rgba(255, 255, 255, 0.04));
}

.badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.25px;
  color: rgba(6, 12, 22, 0.95);
  background: linear-gradient(135deg, rgba(124, 241, 200, 0.9), rgba(124, 199, 255, 0.9));
}

.price {
  margin: 8px 0 2px;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.price-suffix {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 800;
  margin-left: 4px;
}

.price-sub {
  margin: 0 0 14px;
  color: var(--muted);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.checklist li::before {
  content: "✓";
  font-weight: 900;
  color: rgba(124, 241, 200, 0.92);
  width: 16px;
  flex: 0 0 auto;
}

.waitlist-card {
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(124, 199, 255, 0.07), rgba(124, 241, 200, 0.06));
  border-radius: calc(var(--radius) + 4px);
  padding: 20px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: start;
}

.fine-bullets {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.waitlist-form {
  display: grid;
  gap: 12px;
}

label span {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2px;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.88);
}

input,
select,
textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.15);
  color: var(--text);
  padding: 12px 12px;
  font-size: 14px;
  outline: none;
}

input::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(124, 199, 255, 0.5);
  box-shadow: 0 0 0 4px rgba(124, 199, 255, 0.14);
}

textarea {
  resize: vertical;
  min-height: 130px;
  font: inherit;
}

.captcha-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.captcha-image-wrap {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  padding: 8px;
  margin-bottom: 10px;
  overflow: hidden;
}

.captcha-image {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
  border-radius: 8px;
}

.captcha-row .button {
  white-space: nowrap;
}

.form-note {
  margin: 0;
  min-height: 20px;
  font-size: 13px;
  color: var(--muted);
}

.form-note.error {
  color: var(--danger);
}

.form-note.success {
  color: #3b82f6;
  font-weight: 700;
}

.faq {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 14px;
  background: var(--panel-2);
}

summary {
  cursor: pointer;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.9);
}

details p {
  margin: 10px 0 0;
  color: var(--muted);
}

.site-footer {
  padding: 26px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.08);
}

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

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.footer-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

@media (max-width: 920px) {
  .hero-title-overlay {
    left: 12px;
    right: 12px;
    max-width: none;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .usage-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .waitlist-card {
    grid-template-columns: 1fr;
  }

  .nav {
    gap: 8px;
  }

  .nav a {
    padding: 10px 8px;
  }

  .captcha-row {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 921px) {
  .actions-row .button {
    padding: 16px 26px;
    min-width: 220px;
    font-size: 16px;
    border-radius: 14px;
  }
}

@media (max-width: 620px) {
  .section {
    scroll-margin-top: 72px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-name {
    font-size: 24px;
  }

  .nav a[data-track="nav_features"],
  .nav a[data-track="nav_pricing"],
  .nav a[data-track="nav_faq"] {
    display: none;
  }

  .nav-contact-full {
    display: none;
  }

  .nav-contact-short {
    display: inline;
  }

  .hero-title-overlay {
    display: none;
  }

  .hero-title-mobile-section {
    display: block;
    padding: 10px 0 6px;
  }

  .hero-title-mobile {
    text-shadow: none;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .usage-grid {
    grid-template-columns: 1fr;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  body[data-theme="light"] .hero-title-mobile {
    color: rgba(14, 34, 60, 0.95);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
