/* ============================================================
   Conversee — static stylesheet
   Converted from Tailwind/React source
   ============================================================ */

/* ---------- CSS custom properties (design tokens) ---------- */
:root {
  --radius: 0.5rem;

  --background: oklch(1 0 0);
  --foreground: oklch(0.18 0.02 40);
  --card: oklch(0.985 0.012 70);
  --card-foreground: oklch(0.18 0.02 40);
  --primary: oklch(0.65 0.18 38);
  --primary-foreground: oklch(1 0 0);
  --secondary: oklch(0.97 0.018 70);
  --secondary-foreground: oklch(0.18 0.02 40);
  --muted: oklch(0.97 0.018 70);
  --muted-foreground: oklch(0.38 0.03 40);
  --accent: oklch(0.55 0.19 35);
  --accent-foreground: oklch(1 0 0);
  --border: oklch(0.92 0.012 60);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: "General Sans", "Inter", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Utility: font-serif ---------- */
.font-serif {
  font-family: "General Sans", "Inter", ui-sans-serif, system-ui, sans-serif;
  font-feature-settings: "liga", "kern";
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid oklch(0.92 0.012 60 / 60%);
  background: oklch(1 0 0 / 80%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 5rem;
}

/* ---------- Logo ---------- */
.logo-link-wrap {
  max-width: 100px;
}

.logo-wrap {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  height: 48px;
  width: 280px;
}
.logo-wrap img {
  height: 38px;
  width: auto;
  /* margin-left: -75px;
  margin-top: -4px; */
}

/* ---------- Button: pill-primary ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: var(--primary);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-foreground);
  transition:
    background 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}
/* @media (max-width: 456px) {
  .btn-primary {
    border-radius: 3px;
    padding: 0;
    min-width: fit-content;
    height: 30px;
  }
} */
.btn-primary:hover {
  background: var(--accent);
  box-shadow: 0 4px 20px oklch(0.65 0.18 38 / 20%);
}
.btn-primary.btn-lg {
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  box-shadow: 0 4px 20px oklch(0.65 0.18 38 / 20%);
}
.btn-primary.btn-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px oklch(0.65 0.18 38 / 30%);
}
.btn-primary.btn-xl {
  padding: 1rem 2rem;
  font-size: 1rem;
  box-shadow: 0 8px 30px oklch(0.65 0.18 38 / 30%);
}
.btn-primary.btn-primary.btn-xl:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px oklch(0.65 0.18 38 / 40%);
}
.btn-arrow {
  transition: transform 0.2s;
}
.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

/* ---------- Link: ghost ---------- */
.link-ghost {
  font-size: 0.875rem;
  font-weight: 500;
  color: oklch(0.18 0.02 40 / 70%);
  text-underline-offset: 4px;
}
.link-ghost:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* ============================================================
   SECTIONS — shared layout helpers
   ============================================================ */
.section-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 6rem 1.5rem;
}
@media (min-width: 1024px) {
  .section-inner {
    padding: 8rem 1.5rem;
  }
}
.section-inner-narrow {
  max-width: 64rem;
  margin: 0 auto;
  padding: 7rem 1.5rem;
  text-align: center;
}
@media (min-width: 1024px) {
  .section-inner-narrow {
    padding: 9rem 1.5rem;
  }
}

.eyebrow {
  margin-bottom: 1.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary);
}

.section-heading {
  font-family: "General Sans", "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 48rem;
}

.section-subtext {
  margin-top: 1.5rem;
  max-width: 40rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid oklch(0.92 0.012 60 / 60%);
}
.hero-glow {
  pointer-events: none;
  position: absolute;
  right: -8rem;
  top: -5rem;
  height: 520px;
  width: 520px;
  border-radius: 9999px;
  opacity: 0.07;
  background: radial-gradient(
    circle at center,
    var(--primary),
    transparent 60%
  );
}
.hero-mark {
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 4rem;
  height: 460px;
  width: 460px;
  user-select: none;
  opacity: 0.16;
  display: none;
}
@media (min-width: 1024px) {
  .hero-mark {
    display: block;
  }
}
@media (min-width: 1280px) {
  .hero-mark {
    right: 1rem;
    height: 540px;
    width: 540px;
  }
}

.hero-inner {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
  padding: 5rem 1.5rem 6rem;
}
@media (min-width: 1024px) {
  .hero-inner {
    padding: 7rem 1.5rem 8rem;
  }
}

.hero-title {
  font-family: "General Sans", "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--foreground);
}
.hero-title .accent {
  color: var(--primary);
}

.hero-subtitle {
  margin-top: 2rem;
  max-width: 40rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}
@media (min-width: 640px) {
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

.hero-cta-row {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

/* ============================================================
   PROBLEM
   ============================================================ */
.problem {
  border-bottom: 1px solid oklch(0.92 0.012 60 / 60%);
  background: var(--secondary);
}
.problem-grid {
  display: grid;
  gap: 4rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 6rem 1.5rem;
}
@media (min-width: 1024px) {
  .problem-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    padding: 8rem 1.5rem;
  }
}

.problem-body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted-foreground);
}
@media (min-width: 640px) {
  .problem-body {
    font-size: 1.125rem;
  }
}
.problem-body p + p {
  margin-top: 1.25rem;
}

/* snippet cards */
.snippets {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.snippet-card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--background);
  padding: 1.25rem;
  box-shadow: 0 1px 3px rgb(0 0 0 / 6%);
  transition: box-shadow 0.2s;
}
.snippet-card:hover {
  box-shadow: 0 4px 16px rgb(0 0 0 / 10%);
}

.snippet-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.snippet-source {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
}
.snippet-tag {
  border-radius: 9999px;
  background: oklch(0.65 0.18 38 / 10%);
  padding: 0.125rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
}
.snippet-text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: oklch(0.18 0.02 40 / 90%);
}

/* ============================================================
   VALUE PROPS
   ============================================================ */
.valueprops {
  border-bottom: 1px solid oklch(0.92 0.012 60 / 60%);
}

.questions-box {
  margin-top: 3.5rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: var(--secondary);
  padding: 2rem;
}
@media (min-width: 640px) {
  .questions-box {
    padding: 3rem;
  }
}

.questions-eyebrow {
  margin-bottom: 2rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-foreground);
}
.questions-grid {
  display: grid;
  gap: 1.5rem 2.5rem;
}
@media (min-width: 640px) {
  .questions-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.question-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.question-num {
  font-family: "General Sans", "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.875rem;
  line-height: 1;
  color: var(--primary);
  flex-shrink: 0;
}
.question-text {
  padding-top: 0.25rem;
  font-family: "General Sans", "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.5rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--foreground);
}
@media (min-width: 640px) {
  .question-text {
    font-size: 1.875rem;
  }
}

/* ============================================================
   MOMENTS
   ============================================================ */
.moments {
  border-bottom: 1px solid oklch(0.92 0.012 60 / 60%);
  background: var(--secondary);
}

.moments-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .moments-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .moments-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.moment-card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--background);
  padding: 1.5rem;
  transition:
    transform 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
  height: 100%;
}
.moment-card:hover {
  transform: translateY(-2px);
  border-color: oklch(0.65 0.18 38 / 40%);
  box-shadow: 0 4px 16px rgb(0 0 0 / 8%);
}
.moment-num {
  font-family: "General Sans", "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}
.moment-text {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: oklch(0.18 0.02 40 / 90%);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.howitworks {
  border-bottom: 1px solid oklch(0.92 0.012 60 / 60%);
}

.steps-grid {
  margin-top: 4rem;
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  position: relative;
}
.step-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.step-num {
  font-family: "General Sans", "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: 3rem;
  line-height: 1;
  color: var(--primary);
  flex-shrink: 0;
}
.step-line {
  height: 1px;
  flex: 1;
  background: var(--border);
}
.step-title {
  margin-top: 1.25rem;
  font-family: "General Sans", "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.875rem;
  letter-spacing: -0.01em;
  color: var(--foreground);
}
.step-body {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted-foreground);
}

/* ============================================================
   WHY IT MATTERS
   ============================================================ */
.why {
  border-bottom: 1px solid oklch(0.92 0.012 60 / 60%);
  background: var(--secondary);
}

.why-quote {
  font-family: "General Sans", "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--foreground);
}
.why-quote .accent {
  font-style: italic;
  color: var(--primary);
}

.why-sub {
  margin: 2.5rem auto 0;
  max-width: 40rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

/* ============================================================
FAQ
============================================================ */
.faq {
  border-bottom: 1px solid oklch(0.92 0.012 60 / 60%);
}
.faq-list {
  margin-top: 3.5rem;
  max-width: 48rem;
  border-top: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  cursor: pointer;
  list-style: none; /* hide default marker */
  font-family: "General Sans", "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--foreground);
  transition: color 0.2s;
}
.faq-q::-webkit-details-marker {
  display: none;
}

/* Safari marker */
.faq-q:hover {
  color: var(--primary);
}
/* +/− icon built in CSS, no asset needed */
.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}
.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0);
}
.faq-a {
  padding: 0 0 1.5rem;
  max-width: 42rem;
}
.faq-a p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}
/* keyboard focus — matches the focus-visible convention we use elsewhere */
.faq-q:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  .faq-icon::before,
  .faq-icon::after {
    transition: none;
  }
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.finalcta {
  position: relative;
  overflow: hidden;
  background: var(--foreground);
  color: var(--background);
}
.finalcta-glow-left {
  pointer-events: none;
  position: absolute;
  left: -8rem;
  top: -8rem;
  height: 480px;
  width: 480px;
  border-radius: 9999px;
  opacity: 0.3;
  background: radial-gradient(
    circle at center,
    var(--primary),
    transparent 60%
  );
}
.finalcta-glow-right {
  pointer-events: none;
  position: absolute;
  bottom: -10rem;
  right: -5rem;
  height: 520px;
  width: 520px;
  border-radius: 9999px;
  opacity: 0.2;
  background: radial-gradient(circle at center, var(--accent), transparent 60%);
}
.finalcta-inner {
  position: relative;
  max-width: 64rem;
  margin: 0 auto;
  padding: 7rem 1.5rem;
  text-align: center;
}
@media (min-width: 1024px) {
  .finalcta-inner {
    padding: 9rem 1.5rem;
  }
}

.finalcta-eyebrow {
  margin-bottom: 2rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary);
}
.finalcta-title {
  font-family: "General Sans", "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.8rem, 7vw, 4.375rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--background);
}
.finalcta-title .accent {
  font-style: italic;
  color: var(--primary);
}

.finalcta-sub {
  margin: 2rem auto 0;
  max-width: 28rem;
  font-size: 1.125rem;
  color: oklch(1 0 0 / 70%);
}
.finalcta-cta {
  margin-top: 3rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid oklch(0.92 0.012 60 / 60%);
  background: var(--background);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}
@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.footer-copy {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.footer-right .founder-name {
  color: oklch(0.18 0.02 40 / 80%);
}
.footer-right a {
  color: oklch(0.18 0.02 40 / 80%);
  text-underline-offset: 4px;
}
.footer-right a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* ── Trust carousel (trust-carousel.js web component) ── */
@keyframes trust-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.333%);
  }
}
.trust-section {
  margin-top: 44px;
  overflow: hidden;
}
.trust-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  /* color: #9ca3af; */
  color: var(--muted-foreground);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 14px;
}
.trust-carousel-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}
.trust-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: trust-scroll 28s linear infinite;
}
.trust-logo {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.trust-logo:hover {
  opacity: 1;
}
