:root {
  --bg: #000000;
  --panel: #0b0b0b;
  --text: #f5f5f5;
  --muted: #9aa0a6;
  --accent: #ffffff;
  --accent-ink: #000000;
  --border: #1a1a1a;
  --radius: 14px;
}

.abel-regular {
  font-family: "Abel", sans-serif;
  font-weight: 400;
  font-style: normal;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: 'Abel', system-ui, -apple-system, Segoe UI, Roboto;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 20px;
  top: 20px;
  width: auto;
  height: auto;
  padding: 0.5rem 0.75rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-weight: 600;
  transition: 0.2s;
}

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

.btn-lg {
  padding: 0.5rem 1.25rem;
  font-size: 1.1rem;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: transparent;
}

.btn-primary:focus {
  outline: 2px solid color-mix(in lab, var(--accent), white 40%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #000;
  backdrop-filter: blur(8px) saturate(160%);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}

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

.brand-logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.socials {
  position: relative;
}

.socials summary {
  list-style: none;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
}

.socials[open] summary {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.menu {
  position: absolute;
  right: 0;
  top: 100%;
  margin: 0;
  padding: 0.25rem 0;
  list-style: none;
  background: var(--panel);
  border: 1px solid var(--border);
  border-top: none;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  min-width: 220px;
}

.menu li a {
  display: block;
  padding: 0.5rem 0.75rem;
}

.menu li a:hover {
  background: rgba(255, 255, 255, 0.04);
}

.section-hero {
  padding: 200px 0 200px;
  background: radial-gradient(
    800px 400px at 20% -10%,
    rgba(94, 94, 94, 0.15),
    transparent 60%
  );
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  text-align: center;
}

.hero-logo {
  width: 130px;
  height: 130px;
  margin: 0 auto 10px;
}

.hero-title {
  font-size: 6rem;
  letter-spacing: 0.1cap;
  font-family: 'Abel', sans-serif;
}

@media (min-width: 900px) {
  .hero-title {
    font-size: 6rem;
    letter-spacing: 0.3cap;
  }
}

.hero-copy h1 {
  font-size: clamp(2rem, 4vw + 1rem, 3rem);
  line-height: 1.1;
  margin: 30px 0 30px;
}

.lead {
  font-size: 1.6rem;
  max-width: 42ch;
  margin: 0 auto 16px;
  font-weight: bold;
  color: #5e5e5e;
}

.section-shots,
.section-benefits,
.section-roadmap,
.section-waitlist {
  padding: 200px 0 200px;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 28px;
}

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

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

.shots-grid img {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--panel);
}

.grid {
  display: grid;
  gap: 16px;
}

/* ==== Single Benefit: image left, text right (stacks on mobile) ==== */
.benefit-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

/* text styles */
.benefit-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  line-height: 1.15;
}
.benefit-body {
  color: var(--muted);
  max-width: 60ch;
}
.benefit-body p {
  margin: 0 0 10px;
}

/* image styles */
.benefit-media {
  display: flex;
  align-items: center;
  justify-content: center;
}
.benefit-media img {
  width: 100%;
  max-width: 620px;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--panel);
  object-fit: cover;
}

/* Desktop: make it two columns, image on LEFT, text on RIGHT */
@media (min-width: 900px) {
  .benefit-row {
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
  }
  .benefit-media {
    order: 1;
  } /* image left */
  .benefit-copy {
    order: 2;
  } /* text right */
}

/* Mobile (default): text above image via DOM order */
.benefits-grid,
.roadmap-grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .benefits-grid,
  .roadmap-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Story section (matches original Clarity layout) ===== */
.section-story {
  padding: 220px 0 200px; /* generous whitespace */
}

.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr; /* left a bit wider for big headline */
  align-items: center;
  gap: 80px;
}

/* Left: huge multiline headline */
.story-title {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.05;
  /* size scales with viewport, capped */
  font-size: clamp(2rem, 6vw, 3.2rem);
  text-wrap: balance;
}

/* Right: kicker + paragraphs */
.story-kicker {
  margin: 0 0 16px;
  font-weight: 700;
}

.story-body {
  color: var(--muted);
  max-width: 64ch;
}
.story-body p {
  margin: 0 0 14px;
}

/* Mobile: stack, headline above copy (DOM order already set) */
@media (max-width: 1000px) {
  .story-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Optional: tighten on ultra-wide */
@media (min-width: 1440px) {
  .section-story {
    padding: 240px 0 220px;
  }
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
}

.card h3 {
  margin: 0.25rem 0 0.25rem;
}

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

.section-waitlist .waitlist-inner {
  text-align: center;
}

.cta-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin: 18px 0 8px;
  flex-wrap: wrap;
}

.cta-form input {
  min-width: 280px;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
}

.tiny-trust {
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 22px 0 40px;
}

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

.footer-nav {
  display: flex;
  gap: 16px;
  color: var(--muted);
}

.footer-nav a:hover {
  color: var(--text);
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
}

.table th,
.table td {
  border: 1px solid var(--border);
  padding: 0.5rem;
  text-align: left;
  background: var(--panel);
}

.contact-form textarea {
  width: 100%;
  max-width: 720px;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
}

.hp {
  display: none;
} /* honeypot */

/* Visibility helpers */
.desktop-only {
  display: none;
}

@media (min-width: 900px) {
  .desktop-only {
    display: initial;
  }
}

/* Hamburger */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
  color: var(--text);
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }
}

.hamburger {
  position: relative;
  width: 18px;
  height: 14px;
  display: inline-block;
}

.hamburger i {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.hamburger i:nth-child(1) {
  top: 0;
}

.hamburger i:nth-child(2) {
  top: 6px;
}

.hamburger i:nth-child(3) {
  bottom: 0;
}

/* Mobile panel */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  z-index: 50;
  display: grid;
  place-items: end; /* slide in from right */
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav-inner {
  width: min(92vw, 360px);
  height: 100%;
  background: var(--panel);
  border-left: 1px solid var(--border);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.nav-close {
  align-self: flex-end;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 20px;
  line-height: 1;
}

.mobile-menu {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-menu a {
  display: block;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: transparent;
}

/* --- Hamburger animation --- */
.hamburger i {
  transition: transform 0.22s ease, opacity 0.22s ease;
  transform-origin: center;
}

.nav-toggle[aria-expanded='true'] .hamburger i:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] .hamburger i:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded='true'] .hamburger i:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* --- Drawer animation --- */
.mobile-nav {
  opacity: 0;
  transition: opacity 0.22s ease;
}

.mobile-nav.open {
  opacity: 1;
}

.mobile-nav-inner {
  transform: translateX(100%);
  transition: transform 0.28s ease;
}

.mobile-nav.open .mobile-nav-inner {
  transform: translateX(0);
}

/* === Carousel === */
.carousel {
  position: relative;
  display: grid;
  gap: 10px;
  align-items: center;
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* NEW: force a height context */
  min-height: 500px; /* adjust to fit your bezel images */
}

.carousel-track {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 0.35s ease;
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* match viewport */
}

.carousel-slide img {
  max-height: 90%; /* slightly less than slide height */
  max-width: 100%;
  object-fit: contain; /* bezel always fully visible */
  object-position: center;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  display: grid;
  place-items: center;
  opacity: 0.9;
}

.carousel-btn:hover {
  opacity: 1;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

.carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 8px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--border);
  border: 1px solid var(--border);
  display: inline-block;
}
.carousel-dot[aria-selected='true'] {
  background: var(--accent);
}

@media (min-width: 900px) {
  .carousel {
    gap: 12px;
  }
  .carousel-btn {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 600px) {
  .carousel-viewport,
  .carousel-slide {
    min-height: 400px; /* smaller baseline */
  }
}

/* Reduced motion: disable auto animation */
@media (prefers-reduced-motion: reduce) {
  .carousel-track {
    transition: none;
  }
}

/* === Consent Bar === */
.consent-bar {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: #111317;
  border: 1px solid #23252b;
  border-radius: 12px;
  padding: 12px;
  z-index: 2147483647;
  color: #e5e7eb;
}

.consent-bar-content {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.consent-bar-text {
  flex: 1;
  min-width: 220px;
}

.consent-bar label {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.consent-bar input[type="checkbox"] {
  margin: 0;
}
