@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;800&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #171717;
  background: #fcfaf7;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ── Layout helpers ── */
.section-shell { max-width: 1180px; margin: 0 auto; padding: 0 2rem; }
.section-shell--wide { max-width: 1280px; }
.section-shell--narrow { max-width: 860px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.section-head--stacked {
  display: block;
  max-width: 760px;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.section-head h2,
.section-head--stacked h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-top: 0.35rem;
}
.section-head p,
.section-head--stacked p {
  color: #5f5b57;
  font-size: 1rem;
  max-width: 520px;
}
.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: #8a5a44;
  font-weight: 700;
}
.section-kicker--with-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.section-kicker--light { color: rgba(255,255,255,0.76); }

/* ── Nav ── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  border-bottom: 1px solid rgba(23,23,23,0.06);
  position: sticky;
  top: 0;
  background: rgba(252,250,247,0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  z-index: 100;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
}
.nav-logo--text {
  min-height: 38px;
}
.nav-logo-wordmark {
  display: inline-flex;
  align-items: baseline;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 800;
  color: #12373d;
}
.nav-logo-wordmark span {
  color: #b78a5c;
}
.nav-links { display: flex; align-items: center; gap: 1.5rem; font-size: 0.95rem; }
.nav-links a { color: #5f5b57; transition: color 0.15s; }
.nav-links a:hover { color: #171717; }
.nav-links .btn-primary { color: #fff; transition: all 0.18s ease; }
.nav-links .btn-primary:hover {
  background: #2b6166;
  border-color: #2b6166;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.18s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: #171717;
  color: #fff;
  border-color: #171717;
}
.btn-primary:hover { background: #000; }
.btn-secondary {
  background: transparent;
  color: #171717;
  border-color: rgba(23,23,23,0.12);
}
.btn-secondary:hover { background: rgba(23,23,23,0.04); }
.btn-lg { padding: 0.95rem 1.55rem; }

/* ── Hero ── */
.hero-premium {
  padding: 4.5rem 0 3rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(181,140,113,0.14), transparent 28%),
    linear-gradient(180deg, #fbf8f4 0%, #fcfaf7 100%);
}
.hero-premium::after {
  content: "";
  position: absolute;
  right: -110px;
  top: 26px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  opacity: 0.16;
  pointer-events: none;
  background:
    radial-gradient(circle at center, transparent 0 18%, rgba(18,55,61,0.82) 18% 23%, transparent 23% 36%, rgba(183,138,92,0.75) 36% 41%, transparent 41% 54%, rgba(18,55,61,0.62) 54% 59%, transparent 59% 100%);
}
.hero-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.82fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.hero-copy { max-width: 620px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #f1e6dd;
  color: #8a5a44;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}
.aperture-dot {
  width: 0.82rem;
  height: 0.82rem;
  border-radius: 50%;
  flex: 0 0 auto;
  background:
    radial-gradient(circle at center, transparent 0 24%, #12373d 24% 31%, transparent 31% 43%, #b78a5c 43% 50%, transparent 50% 100%);
}
.aperture-dot--light {
  background:
    radial-gradient(circle at center, transparent 0 24%, rgba(255,255,255,0.92) 24% 31%, transparent 31% 43%, rgba(255,255,255,0.55) 43% 50%, transparent 50% 100%);
}
.hero-copy h1 {
  font-size: clamp(2.9rem, 6vw, 5.7rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
  margin-bottom: 1rem;
}
.hero-lede {
  font-size: 1.08rem;
  color: #5f5b57;
  max-width: 560px;
  margin-bottom: 1.5rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 1.5rem; }
.hero-proof { display: grid; gap: 0.6rem; max-width: 560px; }
.hero-proof li {
  position: relative;
  padding-left: 1.4rem;
  color: #3b3835;
}
.hero-proof li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #8a5a44;
  font-size: 1.1rem;
  line-height: 1.2;
}

.hero-stage {
  position: relative;
  min-height: 0;
  width: min(100%, 560px);
  justify-self: end;
}
.hero-stage-main {
  border-radius: 30px;
  overflow: hidden;
  background: #efe7de;
  box-shadow: 0 32px 80px rgba(69,44,28,0.14);
}
.hero-stage-main img {
  width: 100%;
  height: auto;
  max-height: min(72vh, 820px);
  aspect-ratio: 0.96 / 1.08;
  object-fit: cover;
  object-position: center;
}
.hero-stage--result {
  min-height: 0;
}
.hero-stage-main--result {
  border-radius: 30px;
  overflow: hidden;
  background: #efe7de;
  box-shadow: 0 32px 80px rgba(69,44,28,0.16);
}
.hero-stage-main--result img {
  width: 100%;
  height: auto;
  max-height: min(72vh, 820px);
  aspect-ratio: 0.96 / 1.08;
  object-fit: cover;
  object-position: center;
}
.hero-stage-detail {
  position: absolute;
  right: -1.25rem;
  bottom: -1.25rem;
  width: clamp(160px, 32%, 220px);
  border-radius: 24px;
  overflow: hidden;
  border: 8px solid rgba(252,250,247,0.96);
  box-shadow: 0 24px 56px rgba(23,23,23,0.16);
  background: #efe7de;
}
.hero-stage-detail img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  object-position: center;
}
.stage-label {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a5a44;
}

/* ── Signal bar ── */
.signal-bar {
  border-top: 1px solid rgba(23,23,23,0.06);
  border-bottom: 1px solid rgba(23,23,23,0.06);
  background: #fff;
}
.signal-bar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem 2rem;
  color: #6b625c;
  font-size: 0.92rem;
}

/* ── Demo carousel ── */
.demo-strip { padding: 5rem 0 2rem; }
.demo-carousel {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.4rem;
}
.demo-card {
  background: #fff;
  border: 1px solid rgba(23,23,23,0.08);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(23,23,23,0.05);
}
.demo-card-media img {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
}
.demo-card-body { padding: 1.25rem 1.25rem 1.35rem; }
.demo-card-body h3 { font-size: 1.25rem; letter-spacing: -0.03em; margin: 0.35rem 0 0.45rem; }
.demo-card-body p { color: #5f5b57; }
.demo-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.34rem 0.62rem;
  border-radius: 999px;
  background: #171717;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.demo-badge--soft {
  background: #f1e6dd;
  color: #8a5a44;
}

/* ── Compare ── */
.compare-section { padding: 5rem 0; }
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}
.compare-card {
  background: #fff;
  border: 1px solid rgba(23,23,23,0.08);
  border-radius: 24px;
  padding: 1.6rem;
}
.compare-card--accent {
  background: #1e1b18;
  color: #fff;
  border-color: #1e1b18;
}
.compare-card h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.compare-card ul { display: grid; gap: 0.7rem; }
.compare-card li { position: relative; padding-left: 1.2rem; color: inherit; }
.compare-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #b97e5f;
}

/* ── Workflow ── */
.workflow-section { padding: 1rem 0 5rem; }
.workflow-collage-stage,
.workflow-copy-card {
  background: #fff;
  border: 1px solid rgba(23,23,23,0.08);
}
.workflow-collage-stage {
  border-radius: 28px;
  padding: 1.2rem;
  box-shadow: 0 18px 46px rgba(23,23,23,0.06);
  margin-bottom: 1.6rem;
}
.workflow-collage-stage img {
  width: 100%;
  border-radius: 20px;
}
.workflow-copy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: stretch;
}
.workflow-copy-card {
  border-radius: 20px;
  padding: 1.4rem;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.workflow-copy-card--featured {
  border-color: rgba(138,90,68,0.18);
  box-shadow: 0 14px 32px rgba(23,23,23,0.05);
}
.workflow-number {
  display: inline-flex;
  margin-bottom: 0.85rem;
  color: #8a5a44;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.workflow-copy-card h3 { font-size: 1.08rem; margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.workflow-copy-card p { color: #5f5b57; font-size: 0.94rem; max-width: 28ch; }

/* ── Pricing ── */
.pricing { padding: 4rem 0 5rem; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}
.pricing-card {
  background: #fff;
  border: 1px solid rgba(23,23,23,0.08);
  border-radius: 26px;
  padding: 1.9rem;
  position: relative;
}
.pricing-card--featured {
  border-color: #171717;
  transform: translateY(-8px);
}
.plan-badge {
  position: absolute;
  top: -0.8rem;
  left: 1.5rem;
  background: #171717;
  color: #fff;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
}
.plan-name { color: #8c857f; font-weight: 700; margin-bottom: 0.6rem; }
.plan-price { font-size: 2.7rem; font-weight: 800; letter-spacing: -0.05em; margin-bottom: 1rem; }
.plan-price span { font-size: 1rem; font-weight: 500; color: #8c857f; }
.pricing-card ul { display: grid; gap: 0.6rem; margin-bottom: 1.4rem; }
.pricing-card li { color: #4f4a46; }
.pricing-card .btn { width: 100%; }

/* ── CTA ── */
.cta-premium {
  background: #171717;
  color: #fff;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.cta-premium::before {
  content: "";
  position: absolute;
  left: -80px;
  bottom: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  opacity: 0.18;
  pointer-events: none;
  background:
    radial-gradient(circle at center, transparent 0 18%, rgba(255,255,255,0.82) 18% 23%, transparent 23% 36%, rgba(183,138,92,0.55) 36% 41%, transparent 41% 54%, rgba(255,255,255,0.42) 54% 59%, transparent 59% 100%);
}
.cta-premium .section-shell { text-align: center; position: relative; z-index: 1; }
.cta-kicker-branded {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.cta-premium h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0.5rem 0 0.9rem;
}
.cta-premium p {
  color: rgba(255,255,255,0.72);
  max-width: 640px;
  margin: 0 auto 1.5rem;
}
.cta-premium .btn-primary {
  background: #fff;
  color: #171717;
  border-color: #fff;
}
.cta-premium .btn-primary:hover { background: #f3efe8; }

/* ── Pages ── */
.page-inner { max-width: 760px; margin: 0 auto; padding: 4rem 2rem; }
.page-inner h1 { font-size: 2rem; font-weight: 800; margin-bottom: 2rem; }
.page-inner h2 { font-size: 1.3rem; font-weight: 700; margin: 2rem 0 0.5rem; }
.page-inner p, .page-inner li { color: #555; margin-bottom: 0.75rem; }

/* ── Footer ── */
.footer { border-top: 1px solid rgba(23,23,23,0.06); padding: 1.5rem 2rem; text-align: center; font-size: 0.85rem; color: #888; }
.footer a { color: #888; text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .hero-shell,
  .demo-carousel,
  .compare-grid,
  .workflow-copy-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-stage {
    min-height: 0;
    padding-bottom: 0;
    width: min(100%, 640px);
    margin: 0 auto;
    justify-self: center;
  }

  .workflow-copy-card--featured {
    box-shadow: 0 16px 40px rgba(23,23,23,0.05);
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 0.75rem;
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .nav {
    padding: 0.9rem 1rem;
    gap: 0.85rem;
    align-items: flex-start;
    flex-direction: column;
  }
  .nav-logo--text { min-height: 28px; }
  .nav-logo-wordmark { font-size: 1.3rem; }
  .nav-links {
    width: 100%;
    gap: 0.9rem;
    flex-wrap: wrap;
  }
  .nav-links a:not(.btn) { display: none; }
  .nav-links .btn {
    width: 100%;
    margin-top: 0.2rem;
  }
  .hero-premium { padding-top: 3.5rem; }
  .hero-premium::after {
    width: 280px;
    height: 280px;
    right: -80px;
    top: 34px;
    opacity: 0.18;
  }
  .cta-premium::before {
    width: 220px;
    height: 220px;
    left: -70px;
    bottom: -70px;
    opacity: 0.16;
  }
  .hero-shell,
  .section-shell,
  .section-shell--wide,
  .section-shell--narrow { padding-left: 1.25rem; padding-right: 1.25rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-stage {
    padding-bottom: 0;
    min-height: auto;
    width: min(100%, 640px);
  }
  .hero-stage--result { min-height: auto; }
  .hero-stage-main img,
  .hero-stage-main--result img,
  .demo-card-media img,
  .workflow-collage-stage img {
    aspect-ratio: auto;
    height: auto;
    object-fit: contain;
  }
  .hero-stage-detail img {
    aspect-ratio: auto;
    height: auto;
    object-fit: contain;
  }
  .hero-stage-detail {
    position: static;
    width: min(68%, 260px);
    margin: -2rem 0 0 auto;
  }
  .workflow-collage-stage {
    padding: 0.85rem;
  }
  .signal-bar-inner { justify-content: flex-start; }
}
