/* General */

:root {
  --c1: #a8fbd3;
  --c2: #4fb7b3;
  --c3: #637ab9;
  --c4: #31326f;

  --bg: #f6f6f4;
  --text: #0e0e0e;
  --muted: #6b6b6b;
  --pill: #ffffff;
  --accent: #e5e5e0;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, Segoe UI,
    Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Prevent flash before Motion One sets initial state */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 18px;
}
.btn-dark {
  background: var(--c4);
  color: #fff;
  padding: 16px 30px;
  border-radius: 12px;
}
.btn-dark:hover {
  background: #3b3f86;
}

/* Header */

.site-header {
  background: #efefec;
  border-radius: 18px;
  margin: 24px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 38px 24px;
  gap: 12px;
}
.header-logo {
  text-decoration: none;
  color: #0e0e0e;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.header-links {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-links a {
  color: #3a3a3a;
  text-decoration: none;
  font-weight: 600;
}
.header-links a:hover {
  text-decoration: underline;
}
.header-links .dot {
  color: #9a9a9a;
}

/* Hero */
.hero {
  padding: 52px 0 120px;
}
.hero-inner {
  position: relative;
  min-height: 40vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
  gap: 24px;
  justify-items: center;
}

.cta {
  display: flex;
  justify-content: left;
  margin-top: 40px;
}

.announcement {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pill);
  color: #111;
  border-radius: 999px;
  padding: 6px 12px;
  border: 1px solid var(--accent);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  font-size: 14px;
  line-height: 1;
}
.announcement .chev {
  color: #777;
  font-size: 18px;
}

.hero-title {
  font-size: clamp(34px, 6.6vw, 44px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 24px 16px 16px 0px;
  font-weight: 500;
}

.hero-sub {
  color: var(--muted);
  max-width: 520px;
  font-size: 17px;
  line-height: 1.5;
  margin: 0 0 18px;
}

.hero-copy {
  display: block;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  gap: 10px;
}
.checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1b1b1b;
}
.checklist .tick {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--c1);
  position: relative;
}
.checklist .tick::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 3px;
  width: 6px;
  height: 10px;
  border: solid var(--c4);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Hero mint card */
.hero-mint-card {
  background: var(--c1);
  width: 90%;
  height: 20rem;
  align-self: end;
  display: flex;
  justify-content: center;
  border-radius: 18px;
  clip-path: inset(-140px 0 0 0);
}

.mobile-screenshot {
  width: 280px;
  height: auto;
  border-radius: 24px;
  display: block;
  margin: 0 auto;
}

.phone-frame {
  position: relative;
  background: #1a1a1a;
  border-radius: 32px 32px 0 0;
  padding: 12px 8px 0px 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  width: fit-content;
  overflow: hidden;
  height: 440px;
  will-change: transform;
  top: -40px;
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: 100px;
  height: 18px;
  background: #1a1a1a;
  border-radius: 0 0 12px 12px;
}

.phone-frame::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: 40px;
  height: 4px;
  background: #333;
  border-radius: 2px;
}

/* Feature cards */
.feature-cards {
  padding: 12px 0 96px;
  min-width: 440px;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: #efefec;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  row-gap: 8px;
  align-items: center;
}
.card-index {
  display: block;
  color: var(--c2);
  font-weight: 800;
  font-size: clamp(40px, 8vw, 64px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0;
}
.card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}
.card p {
  margin: 6px 0 0;
  grid-column: 1 / -1;
  color: #6b6b6b;
}

/* Footer */
.site-footer {
  background: #efefec;
  border-radius: 18px;
  margin: 24px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px 24px;
  gap: 12px;
}
.footer-copy {
  margin: 0;
  color: #373737;
}
.footer-copy .beta {
  background: var(--c1);
  color: #0b3b2c;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-left: 8px;
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-links a {
  color: #3a3a3a;
  text-decoration: none;
  font-weight: 600;
}
.footer-links a:hover {
  text-decoration: underline;
}
.footer-links .dot {
  color: #9a9a9a;
}

/* FAQ Section */
.faq-section {
  background: #f0f0f0;
  padding: 80px 0;
  margin: 0;
}

.faq-header {
  text-align: center;
  margin-bottom: 60px;
}

.faq-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  color: var(--text);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.faq-subtitle {
  font-size: 18px;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.faq-illustration {
  order: 1;
}

.faq-cards {
  order: 2;
}

.faq-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.faq-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.faq-icon {
  width: 48px;
  height: 48px;
  background: var(--c1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 4px;
}

.faq-content {
  flex: 1;
}

.faq-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.faq-content p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.faq-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.illustration-svg {
  width: 100%;
  max-width: 500px;
  height: auto;
}

@media (max-width: 768px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .faq-illustration {
    min-height: 200px;
  }

  .illustration-svg {
    max-width: 300px;
  }
}

/* Contact Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
}
.modal-overlay[aria-hidden="false"] {
  display: flex;
}
.modal-dialog {
  background: #ffffff;
  border-radius: 16px;
  width: 100%;
  max-width: 520px;
  padding: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}
.modal-close {
  border: none;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  position: absolute;
  right: 26px;
  top: 20px;
}
.contact-form {
  display: grid;
  gap: 12px;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--accent);
  background: #fff;
  font-size: 14px;
  color: #111;
}
.contact-form textarea {
  resize: vertical;
}
.contact-form label {
  font-weight: 600;
  font-size: 14px;
  color: #111;
}

@media (max-width: 960px) {
  .nav {
    justify-content: space-between;
    width: 100%;
  }
  .primary-nav {
    display: none;
  }
  .hamburger {
    display: inline-flex;
  }
  .hero {
    padding-top: 36px;
    padding-bottom: 36px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    justify-self: start;
    padding-inline-start: 1.5rem; /* ~24px */
    margin-bottom: 40px;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .hero-mint-card {
    margin-left: 0;
    margin-right: 0;
    padding: 20px 20px 0 20px;
    margin-top: 80px;
    overflow: visible;
    min-width: 410px;
  }

  .phone-frame {
    min-width: 297px;
  }

  .phone-frame::before {
    width: 85px;
    height: 15px;
  }

  .phone-frame::after {
    width: 35px;
    height: 3px;
    top: 6px;
  }

  .mobile-screenshot {
    min-width: 200px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

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