:root {
  --bg: #f8f3eb;
  --surface: #fffdfa;
  --surface-2: #f4ede3;
  --text: #151515;
  --muted: #7f786d;
  --line: rgba(21, 21, 21, 0.08);
  --accent: #c5a059;
  --accent-soft: rgba(197, 160, 89, 0.14);
  --shadow-lg: 0 24px 60px rgba(28, 20, 9, 0.08);
  --shadow-md: 0 18px 36px rgba(28, 20, 9, 0.06);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(197, 160, 89, 0.13), transparent 26%),
    linear-gradient(180deg, #fdfaf5 0%, var(--bg) 100%);
}

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

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  overflow: clip;
}

.section {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.section-soft {
  width: 100%;
  padding: 96px 0;
  background: rgba(255, 252, 246, 0.76);
  border-top: 1px solid rgba(21, 21, 21, 0.04);
  border-bottom: 1px solid rgba(21, 21, 21, 0.04);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  padding-bottom: 18px;
  padding-left: max(20px, calc((100vw - min(var(--max-width), calc(100vw - 40px))) / 2));
  padding-right: max(20px, calc((100vw - min(var(--max-width), calc(100vw - 40px))) / 2));
  transition:
    background-color 0.25s ease,
    backdrop-filter 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0);
  border-bottom: 1px solid transparent;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    backdrop-filter 0.25s ease;
}

.topbar.is-scrolled::before {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(21, 21, 21, 0.06);
  box-shadow: 0 12px 24px rgba(21, 21, 21, 0.04);
  backdrop-filter: blur(18px);
}

.brand {
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-dot {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 13px;
}

.nav a:hover,
.secondary-link:hover {
  color: var(--text);
}

.download-chip,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--text);
  color: white;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-md);
}

.download-chip {
  min-height: 40px;
  border-radius: 0;
  padding: 0 18px;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 52px;
  align-items: center;
  min-height: calc(100vh - 90px);
  padding: 48px 0 88px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--accent);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}

.hero h1,
.section-heading h2,
.features-copy h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(52px, 7vw, 82px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.hero h1 span,
.section-heading h2 span,
.features-copy h2 span,
.contact-copy h2 span {
  color: var(--accent);
}

.hero-text,
.section-heading p,
.features-copy p,
.contact-copy p,
.feature-card p,
.step-card p,
.quote-card p,
.contact-list,
.footer p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 470px;
  margin: 28px 0 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}

.secondary-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 42px;
}

.hero-stats div {
  display: grid;
  gap: 6px;
}

.hero-stats strong {
  font-size: 28px;
  letter-spacing: -0.05em;
}

.hero-stats span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 700px;
}

.phone-frame {
  position: relative;
  width: min(370px, 100%);
  padding: 16px;
  border-radius: 42px;
  background: linear-gradient(180deg, #fffefd 0%, #ece4d8 100%);
  box-shadow: 0 28px 70px rgba(41, 28, 11, 0.16);
  border: 1px solid rgba(21, 21, 21, 0.08);
}

.phone-screen {
  overflow: hidden;
  border-radius: 28px;
  background: #fffefc;
}

.hero-app-screen {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 640px;
  object-fit: cover;
  object-position: top center;
}

.hero-float {
  position: absolute;
  z-index: 2;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.92);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.badge-left {
  left: 20px;
  bottom: 180px;
}

.badge-right {
  right: 0;
  top: 110px;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-heading.centered {
  text-align: center;
}

.section-heading.centered .eyebrow {
  justify-content: center;
}

.section-heading h2 {
  font-size: clamp(38px, 5vw, 64px);
}

.steps-grid,
.gallery-grid,
.testimonials-grid {
  display: grid;
  gap: 20px;
}

.steps-grid {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card,
.feature-card,
.quote-card,
.contact-form,
.showcase-card {
  background: rgba(255, 253, 249, 0.9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.step-card {
  min-height: 260px;
  padding: 28px;
  border-radius: var(--radius-lg);
}

.step-meta {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 56px;
}

.step-icon {
  font-size: 54px;
  font-weight: 800;
  letter-spacing: -0.08em;
  color: rgba(197, 160, 89, 0.18);
}

.step-card h3,
.feature-card h3,
.contact-form button,
.showcase-footer strong {
  margin: 0 0 12px;
  font-size: 24px;
  letter-spacing: -0.05em;
}

.gallery {
  padding: 96px 0;
}

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

.showcase-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.split-showcase {
  position: relative;
  --split-position: 50%;
  min-height: 430px;
  overflow: hidden;
  user-select: none;
  touch-action: none;
}

.split-half {
  position: absolute;
  inset: 0;
  min-height: 430px;
}

.gallery-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-half-after {
  z-index: 1;
}

.split-half-before {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--split-position)) 0 0);
}

.split-line {
  position: absolute;
  left: var(--split-position);
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.92);
  transform: translateX(-50%);
  z-index: 3;
}

.split-handle {
  position: absolute;
  left: var(--split-position);
  top: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 0;
  background: white;
  color: var(--text);
  box-shadow: 0 18px 30px rgba(21, 21, 21, 0.12);
  font-size: 18px;
  cursor: ew-resize;
  z-index: 4;
}

.split-label {
  position: absolute;
  top: 18px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  z-index: 5;
}

.split-label-left {
  left: 18px;
}

.split-label-right {
  right: 18px;
}

.showcase-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px 24px;
}

.showcase-footer span,
.showcase-footer small {
  display: block;
  color: var(--muted);
}

.features-layout,
.contact-layout,
.footer {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.features-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.feature-cards {
  display: grid;
  gap: 16px;
}

.feature-card {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.testimonials {
  padding: 96px 0;
}

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

.quote-card {
  padding: 26px;
  border-radius: var(--radius-lg);
}

.stars {
  color: var(--accent);
  letter-spacing: 0.18em;
  font-size: 12px;
}

.quote-person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.quote-person small,
.contact-list small {
  color: var(--muted);
}

.contact-form {
  padding: 30px;
  border-radius: var(--radius-xl);
}

.contact-form label {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.contact-form span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(21, 21, 21, 0.14);
  padding: 0 0 14px;
  background: transparent;
  color: var(--text);
  outline: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-submit {
  align-self: flex-start;
}

.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 38px;
}

.contact-list a {
  font-weight: 700;
}

.footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 42px 0 54px;
}

.footer p {
  max-width: 320px;
  margin-bottom: 0;
}

.placeholder {
  display: grid;
  place-items: center;
  padding: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.96);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.35;
}

.placeholder span {
  display: inline-block;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(17, 17, 17, 0.18);
  backdrop-filter: blur(6px);
}

.placeholder-warm {
  background: linear-gradient(135deg, #d1b183 0%, #f0dec2 100%);
}

.placeholder-cool {
  background: linear-gradient(135deg, #799ad4 0%, #99c2ff 100%);
}

.placeholder-gold {
  background: linear-gradient(135deg, #c5a059 0%, #dabc87 100%);
}

.placeholder-rose {
  background: linear-gradient(135deg, #cf8f9c 0%, #eabcc5 100%);
}

.placeholder-sage {
  background: linear-gradient(135deg, #8da886 0%, #b8c9b3 100%);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

@media (max-width: 1100px) {
  .hero,
  .features-layout,
  .contact-layout,
  .gallery-grid,
  .testimonials-grid,
  .steps-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
  }

  .hero-visual {
    min-height: 620px;
  }

  .badge-right {
    right: 24px;
  }

  .footer {
    align-items: flex-start;
  }
}

@media (max-width: 820px) {
  .topbar {
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 18px;
  }

  .nav {
    order: 3;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-copy,
  .section-heading,
  .features-copy,
  .contact-copy {
    text-align: center;
  }

  .hero-actions,
  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    min-height: 540px;
  }

  .hero-float {
    display: none;
  }

  .section-soft {
    padding: 72px 0;
  }
}

@media (max-width: 560px) {
  .section {
    width: min(var(--max-width), calc(100% - 24px));
  }

  .hero,
  .gallery,
  .testimonials {
    padding-bottom: 72px;
  }

  .hero h1,
  .section-heading h2,
  .features-copy h2,
  .contact-copy h2 {
    font-size: 46px;
  }

  .phone-frame {
    width: 100%;
  }

  .split-showcase,
  .split-half {
    min-height: 320px;
  }

  .contact-form,
  .step-card,
  .feature-card,
  .quote-card {
    padding: 22px;
  }
}
