:root {
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-300: #d6d3d1;
  --stone-400: #a8a29e;
  --stone-500: #78716c;
  --stone-600: #57534e;
  --stone-700: #44403c;
  --stone-800: #292524;
  --stone-900: #1c1917;
  --white: #ffffff;
  --violet: #7c3aed;
  --amber: #f59e0b;
  --sky: #38bdf8;
  --emerald: #34d399;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--stone-50);
  color: var(--stone-900);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-shell {
  min-height: 100vh;
}

.site-nav,
.hero-grid,
.steps-grid,
.pricing-grid,
.footer {
  width: min(80rem, calc(100% - 2rem));
  margin: 0 auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--stone-900);
}

.brand-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.0625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.brand-bold { font-weight: 700; }
.brand-light { font-weight: 300; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}


.text-link {
  color: var(--stone-600);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}

.text-link:hover {
  color: var(--stone-900);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button-dark {
  background: var(--stone-900);
  color: var(--white);
}

.button-dark:hover {
  background: var(--stone-800);
}

.button-light {
  border-color: var(--stone-300);
  background: var(--white);
  color: var(--stone-900);
}

.button-light:hover,
.button-muted:hover {
  background: var(--stone-100);
}

.button-large {
  min-height: 3.5rem;
  padding: 0 2rem;
  font-size: 1rem;
}

.button-muted {
  width: 100%;
  background: var(--stone-100);
  color: var(--stone-900);
}

.button-on-dark {
  width: 100%;
  background: var(--white);
  color: var(--stone-900);
}

.button-violet {
  width: 100%;
  background: var(--violet);
  color: var(--white);
}

.button-violet:hover {
  background: #6d28d9;
}

.nav-cta {
  display: none; /* shown at 640px+ via media query */
}

.hero {
  padding: 3rem 0 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
}

.hero-copy {
  max-width: 42rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border: 1px solid var(--stone-300);
  border-radius: 999px;
  background: rgba(231, 229, 228, 0.85);
  padding: 0.25rem 0.75rem;
  color: var(--stone-700);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.badge svg {
  fill: currentColor;
  stroke: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1.5rem;
  color: var(--stone-900);
  font-family: "Playfair Display", ui-serif, Georgia, serif;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0;
}

h1 span {
  color: var(--stone-500);
  font-style: italic;
}

.hero-copy > p {
  max-width: 35rem;
  margin-bottom: 2.5rem;
  color: var(--stone-600);
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.trust {
  margin-top: 2.5rem;
  margin-bottom: 0;
  color: var(--stone-500) !important;
  font-size: 0.875rem !important;
  font-weight: 500;
  line-height: 1.4 !important;
}

.hero-preview {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-glow {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--stone-200);
  filter: blur(56px);
  opacity: 0.5;
}

.preview-card {
  position: relative;
  width: 100%;
  max-width: 22rem;
  overflow: hidden;
  border: 1px solid var(--stone-100);
  border-radius: 2rem;
  background: var(--white);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 1.5rem;
}

.preview-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 0.75rem;
  object-fit: cover;
  object-position: top center;
}

.steps {
  border-top: 1px solid var(--stone-100);
  border-bottom: 1px solid var(--stone-100);
  background: var(--white);
  padding: 4rem 0;
}

.section-heading {
  max-width: 42rem;
  margin: 0 auto 4rem;
  padding: 0 1rem;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 1rem;
  font-family: "Playfair Display", ui-serif, Georgia, serif;
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--stone-600);
  font-size: 1.125rem;
  line-height: 1.65;
}

.steps-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
}

.steps-grid article {
  text-align: center;
}

.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.5rem;
  border-radius: 999px;
  background: var(--stone-100);
  color: var(--stone-900);
}

.step-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke-width: 1.8;
}

.steps-grid h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  line-height: 1.4;
}

.steps-grid p {
  margin-bottom: 0;
  color: var(--stone-600);
  line-height: 1.7;
}

.pricing {
  padding: 4rem 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  max-width: 67rem;
  padding-top: 1rem;
  overflow: visible;
}

.price-card {
  position: relative;
  display: flex;
  min-height: 29rem;
  flex-direction: column;
  border: 1px solid var(--stone-200);
  border-radius: 1.5rem;
  background: var(--white);
  padding: 2rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  z-index: 0;
}

.price-card:has(.tag) {
  z-index: 1;
}

.price-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
}

.plan-icon {
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 1rem;
}

.starter {
  color: var(--sky);
}

.premium {
  color: var(--amber);
}

.pro-icon {
  color: #8b5cf6;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.price strong {
  font-size: 2.25rem;
  line-height: 1;
}

.price span {
  color: var(--stone-500);
}

.price-card ul {
  display: grid;
  gap: 0.875rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 1.45rem;
  color: var(--stone-600);
  font-size: 0.875rem;
  line-height: 1.5;
}

.price-card li::before {
  content: "";
  position: absolute;
  top: 0.34rem;
  left: 0;
  width: 0.7rem;
  height: 0.7rem;
  border: 1.5px solid var(--stone-400);
  border-radius: 999px;
}

.featured {
  border-color: var(--stone-900);
  background: var(--stone-900);
  color: var(--white);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 8px 10px -6px rgba(0, 0, 0, 0.25);
}

.featured .price span,
.featured li {
  color: var(--stone-300);
}

.featured li::before {
  border-color: var(--emerald);
}

.pro {
  border-color: #ddd6fe;
}

.pro li::before {
  border-color: #8b5cf6;
}

.tag {
  position: absolute;
  top: 0;
  right: 2rem;
  transform: translateY(-50%);
  border-radius: 999px;
  background: var(--amber);
  color: var(--stone-900);
  padding: 0.25rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 1;
}

.tag-violet {
  background: #8b5cf6;
  color: var(--white);
}

.price-card .button {
  margin-top: auto;
}

.footer-shell {
  background: var(--stone-900);
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.footer-brand {
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--stone-400);
  font-size: 0.875rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
}

@media (min-width: 640px) {
  .site-nav,
  .hero-grid,
  .steps-grid,
  .pricing-grid,
  .footer {
    width: min(80rem, calc(100% - 3rem));
  }

  .nav-cta {
    display: inline-flex;
  }

  .hero {
    padding-top: 5rem;
    padding-bottom: 8rem;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .steps,
  .pricing {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured {
    transform: translateY(-1rem);
  }

  .footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-preview {
    min-height: 37.5rem;
  }

  .pricing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .button-large,
  .hero-actions .button {
    width: 100%;
  }

  .price-card {
    padding: 1.5rem;
  }
}

/* ── Features section ──────────────────────────────────────────────── */

.features {
  border-top: 1px solid var(--stone-100);
  background: var(--stone-50);
  padding: 4rem 0;
}

.features-inner {
  width: min(80rem, calc(100% - 2rem));
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.feature-card {
  border: 1px solid var(--stone-200);
  border-radius: 1.25rem;
  background: var(--white);
  padding: 1.5rem;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  border-radius: 0.75rem;
  background: var(--stone-100);
  color: var(--stone-700);
}

.feature-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 1.75;
}

.feature-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.feature-card p {
  margin: 0;
  color: var(--stone-600);
  font-size: 0.9375rem;
  line-height: 1.65;
}

@media (min-width: 640px) {
  .features {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ── FAQ section ───────────────────────────────────────────────────── */

.faq {
  border-top: 1px solid var(--stone-100);
  background: var(--white);
  padding: 4rem 0;
}

.faq-list {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.faq-list details {
  border-bottom: 1px solid var(--stone-200);
}

.faq-list details:first-child {
  border-top: 1px solid var(--stone-200);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--stone-900);
  list-style: none;
  -webkit-user-select: none;
  user-select: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary svg {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  color: var(--stone-400);
  transition: transform 200ms ease;
  stroke-width: 2.5;
}

.faq-list details[open] > summary svg {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 0 1.25rem;
  color: var(--stone-600);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin: 0;
}

.faq-answer a {
  color: var(--stone-900);
  font-weight: 500;
  text-underline-offset: 2px;
}

.faq-answer a:hover {
  color: var(--stone-700);
}

@media (min-width: 640px) {
  .faq {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}
