html:has(.wedify-home) {
  overflow-x: clip;
}
.wedify-home {
  --landing-ink: #2a2422;
  --landing-muted: #6a5e58;
  --landing-accent: #733f47;
  --landing-border: #e8d9d0;
  --landing-paper: #fffaf4;
  color: var(--landing-ink);
  overflow-x: clip;
  max-width: 100%;
}
.wedify-home .wedify-shell {
  max-width: min(1160px, 100%);
  width: 100%;
  padding-top: 1rem;
  overflow-x: clip;
}

.wedify-home .wedify-topbar {
  padding: 0.35rem 0 0.5rem;
}
.wedify-topbar__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.wedify-home .wedify-topbar .wedify-logo {
  filter: drop-shadow(0 6px 18px rgba(69, 37, 43, 0.08));
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(16rem, 0.92fr);
  align-items: center;
  column-gap: clamp(1.5rem, 4.5vw, 3.75rem);
  row-gap: 1.75rem;
  padding: clamp(0.85rem, 2.5vw, 1.75rem) 0 clamp(2.75rem, 5vw, 4rem);
  min-height: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  position: relative;
}
.landing-scroll {
  grid-column: 1 / -1;
  justify-self: center;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  margin-top: clamp(0.35rem, 1.5vw, 0.85rem);
  text-decoration: none;
  color: var(--landing-muted);
  opacity: 0.92;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.landing-scroll.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}
.landing-scroll__label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.landing-scroll__mouse {
  position: relative;
  width: 1.35rem;
  height: 2.15rem;
  border: 1.5px solid rgba(115, 63, 71, 0.45);
  border-radius: 0.85rem;
}
.landing-scroll__wheel {
  position: absolute;
  left: 50%;
  top: 0.35rem;
  width: 0.28rem;
  height: 0.42rem;
  margin-left: -0.14rem;
  border-radius: 0.2rem;
  background: var(--landing-accent);
  animation: landing-scroll-wheel 1.7s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}
.landing-scroll__chevron {
  width: 0.55rem;
  height: 0.55rem;
  border-right: 1.5px solid rgba(115, 63, 71, 0.55);
  border-bottom: 1.5px solid rgba(115, 63, 71, 0.55);
  transform: rotate(45deg);
  animation: landing-scroll-chevron 1.7s ease-in-out infinite;
}
@keyframes landing-scroll-wheel {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(0.7rem); }
  100% { opacity: 0; transform: translateY(0.7rem); }
}
@keyframes landing-scroll-chevron {
  0%, 100% { opacity: 0.35; transform: translateY(0) rotate(45deg); }
  50% { opacity: 1; transform: translateY(0.28rem) rotate(45deg); }
}
@media (prefers-reduced-motion: reduce) {
  .landing-scroll__wheel,
  .landing-scroll__chevron { animation: none; }
}
.landing-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 34rem;
  padding-top: 0.15rem;
}
.landing-hero__copy--enter {
  animation: landing-rise 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.landing-hero__visual--enter {
  animation: landing-rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.14s both;
}
@keyframes landing-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .landing-hero__copy--enter,
  .landing-hero__visual--enter { animation: none; }
}

.landing-hero__eyebrow {
  margin: 0 0 0.55rem;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--landing-accent);
  line-height: 1.1;
}
.landing-hero h1 {
  margin: 0 0 0.85rem;
  max-width: 12ch;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.55rem, 5.6vw, 4.35rem);
  letter-spacing: -0.035em;
  line-height: 0.96;
  overflow-wrap: anywhere;
  color: var(--landing-ink);
  text-wrap: balance;
}
.landing-lead {
  max-width: 36ch;
  margin: 0 0 1.25rem;
  color: var(--landing-muted);
  font-size: 1.02rem;
  line-height: 1.55;
}
.landing-hero__actions {
  display: grid;
  gap: 0.85rem;
}
.landing-hero__cta {
  align-items: stretch;
  justify-content: flex-start;
  gap: 0.65rem 0.75rem;
  flex-wrap: wrap;
  margin-top: 0;
}
.landing-hero__cta .landing-cta-primary,
.landing-hero__cta .btn-wedify-ghost {
  min-height: 3rem;
}
.landing-cta-primary {
  --cta-ink: #4a2a30;
  --cta-ink-deep: #341c21;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 3.15rem;
  padding: 0.85rem 1.15rem 0.85rem 1.35rem;
  border-radius: 0.55rem;
  text-decoration: none;
  color: #fffaf6;
  background:
    linear-gradient(135deg, rgba(255,255,255,.12), transparent 42%),
    linear-gradient(160deg, #6a3d45 0%, var(--cta-ink) 55%, var(--cta-ink-deep) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 14px 34px rgba(69, 37, 43, 0.22);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}
.landing-cta-primary__label {
  font-family: Outfit, system-ui, sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.landing-cta-primary__arrow {
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 0.4rem;
  background: rgba(255, 250, 244, 0.14);
  flex-shrink: 0;
  transition: transform 0.22s ease, background 0.22s ease;
}
.landing-cta-primary__arrow::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid #fffaf6;
  border-top: 2px solid #fffaf6;
  transform: rotate(45deg) translate(-1px, 1px);
}
.landing-cta-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  color: #fffaf6;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 18px 40px rgba(69, 37, 43, 0.28);
}
.landing-cta-primary:hover .landing-cta-primary__arrow {
  transform: translateX(3px);
  background: rgba(255, 250, 244, 0.22);
}
.landing-cta-primary:focus-visible {
  outline: 2px solid var(--landing-accent);
  outline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
  .landing-cta-primary,
  .landing-cta-primary__arrow {
    transition: none;
  }
}
.landing-hero__meta {
  display: grid;
  gap: 0.35rem;
  max-width: 38ch;
  padding-top: 0.15rem;
}
.landing-hero__assurance {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--landing-ink);
  font-weight: 500;
}
.landing-hero__note {
  margin: 0;
  font-size: 0.84rem;
}
.landing-hero__note a {
  color: var(--landing-accent);
  text-underline-offset: 0.22em;
}
.landing-cta-primary--compact {
  min-height: 2.75rem;
  padding: 0.7rem 1rem 0.7rem 1.15rem;
}
.landing-cta-primary--compact .landing-cta-primary__label {
  font-size: 0.92rem;
}

.btn-wedify-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.2rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(115, 63, 71, 0.28);
  background: rgba(255, 250, 244, 0.78);
  color: var(--landing-accent);
  text-decoration: none;
  font-weight: 550;
  font-size: 0.95rem;
  backdrop-filter: blur(6px);
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-wedify-ghost:hover {
  border-color: rgba(115, 63, 71, 0.55);
  background: #fffaf4;
  color: #5a2f36;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(69, 37, 43, 0.08);
}

.landing-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  justify-self: stretch;
  overflow: visible;
  min-height: 100%;
}
.wedify-home .wedify-shell,
.landing-hero {
  overflow-x: clip;
  overflow-y: visible;
}

/* Large phone alone in hero */
.landing-phone {
  position: relative;
  display: block;
  width: min(100%, 24rem);
  margin-left: auto;
  text-decoration: none;
  color: inherit;
  background: transparent;
  transition: transform 0.25s ease;
}
.landing-phone:hover {
  transform: translateY(-4px);
}
.landing-phone__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 22px 40px rgba(69, 37, 43, 0.18));
}
.landing-phone__badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(115, 63, 71, 0.18);
  background: rgba(255, 250, 244, 0.94);
  color: var(--landing-accent);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(69, 37, 43, 0.08);
}

/* Envelope band — same site backdrop, no separate panel */
.landing-envelope {
  position: relative;
  width: 100%;
  margin: clamp(1.25rem, 3.5vw, 2.25rem) 0;
  padding: clamp(2.75rem, 7vw, 5.25rem) 1.25rem clamp(3.25rem, 8vw, 5.75rem);
  background: transparent;
  border: 0;
  overflow: visible;
}
.landing-envelope__inner {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
  margin: 0 auto;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 1.5rem;
}

/* Realistic cloud layers (transparent PNGs + soft fade, no box) */
.landing-clouds {
  position: absolute;
  inset: -8% -4%;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
  opacity: calc(0.15 + var(--cloud-reveal, 0) * 0.85);
  transition: opacity 0.6s linear;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}
.landing-cloud {
  position: absolute;
  left: 0;
  bottom: -6%;
  width: 100%;
  display: block;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
.landing-cloud img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  background: transparent;
  border: 0;
  transform-origin: 50% 100%;
  opacity: 0;
  animation: landing-cloud-rise calc(9.5s * var(--i, 1)) linear infinite;
}
.landing-cloud--1 { z-index: 1; bottom: -2%; width: 108%; left: -4%; }
.landing-cloud--2 { z-index: 2; bottom: -8%; width: 118%; left: -9%; }
.landing-cloud--3 { z-index: 3; bottom: -12%; width: 126%; left: -13%; }
.landing-cloud--4 { z-index: 4; bottom: -16%; width: 135%; left: -18%; }
.landing-cloud--5 { z-index: 5; bottom: -20%; width: 145%; left: -22%; }
@keyframes landing-cloud-rise {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  28%, 72% {
    opacity: 0.62;
  }
  100% {
    opacity: 0;
    transform: scale(1.75);
  }
}
@media (prefers-reduced-motion: reduce) {
  .landing-cloud {
    will-change: auto;
  }
  .landing-cloud img {
    animation: none;
    opacity: 0.45;
    transform: scale(1.15);
  }
}
.landing-envelope__head {
  max-width: 34rem;
}
.landing-envelope__head .landing-features__lead {
  margin-left: auto;
  margin-right: auto;
}

.landing-fly {
  position: relative;
  width: min(100%, 34rem);
  height: 280px;
  margin: 0 auto;
  overflow: visible;
  cursor: pointer;
  perspective: 900px;
  transition: height 0.55s ease;
}
.landing-fly.is-open {
  height: 420px;
  cursor: default;
}
.landing-fly__envelope {
  background: #efe4da;
  margin: 36px auto 0;
  height: 210px;
  position: relative;
  width: min(340px, 86%);
  border-radius: 8px;
  overflow: visible;
  z-index: 2;
  transform-style: preserve-3d;
  box-shadow:
    0 18px 40px rgba(69, 37, 43, 0.14),
    0 4px 12px rgba(69, 37, 43, 0.06);
  animation: landing-fly-float 2.4s ease-in-out infinite;
}
.landing-fly.is-open .landing-fly__envelope {
  animation: none;
}
.landing-fly__envelope::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #e4d5c8;
  z-index: 1;
}
.landing-fly__letter {
  position: absolute;
  left: 6%;
  bottom: 0;
  width: 88%;
  height: 94%;
  z-index: 20;
  background: #fffaf4;
  border-radius: 6px;
  box-shadow: 0 -2px 12px rgba(69, 37, 43, 0.08);
  transform: translateY(6px);
  transition: transform 1s 0.7s cubic-bezier(0.34, 1.45, 0.64, 1), height 0.85s 0.7s ease, z-index 0s 0.7s;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0.65rem 0.75rem;
  pointer-events: none;
}
.landing-fly.is-open .landing-fly__letter {
  transform: translateY(-120px);
  height: 250px;
  z-index: 40;
  pointer-events: auto;
}
.landing-fly__letter-inner {
  width: 100%;
  border: 1px solid rgba(166, 124, 61, 0.55);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.75rem 0.85rem;
  gap: 0.35rem;
}
.landing-fly__letter-kicker {
  margin: 0;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--landing-muted);
  font-weight: 600;
}
.landing-fly__letter-names {
  margin: 0;
  font-family: var(--font-serif, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(1.45rem, 3.4vw, 1.85rem);
  font-weight: 600;
  color: var(--landing-ink);
  line-height: 1.15;
}
.landing-fly__letter-rule {
  display: block;
  width: 2.25rem;
  height: 1px;
  background: #a67c3d;
  margin: 0.15rem 0;
}
.landing-fly__letter-note {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--landing-muted);
  max-width: 22ch;
}
.landing-fly__letter-cta {
  margin-top: 0.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.48rem 1rem;
  border-radius: 999px;
  background: var(--landing-accent);
  color: #fffaf4;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: transform 0.2s ease, background 0.2s ease;
}
.landing-fly__letter-cta:hover {
  background: #5c3037;
  color: #fffaf4;
  transform: translateY(-1px);
}
.landing-fly__pocket-sides {
  position: absolute;
  inset: 0;
  z-index: 25;
  border-radius: inherit;
  background: #e0d0c2;
  clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 0, 50% 50%);
  pointer-events: none;
}
.landing-fly__pocket {
  position: absolute;
  inset: 0;
  z-index: 30;
  border-radius: inherit;
  background: #fffefb;
  clip-path: polygon(0 100%, 50% 50%, 100% 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  pointer-events: none;
}
.landing-fly__flap {
  position: absolute;
  inset: 0;
  z-index: 50;
  border-radius: inherit;
  background: #fffefb;
  clip-path: polygon(0 0, 100% 0, 50% 55%);
  transform-origin: top center;
  transform: rotateX(0deg);
  transition: transform 0.8s 0.4s cubic-bezier(0.4, 0, 0.2, 1), z-index 0.1s 0.55s;
  border-top: 2px solid rgba(255, 255, 255, 0.35);
  backface-visibility: hidden;
  pointer-events: none;
}
.landing-fly.is-open .landing-fly__flap {
  transform: rotateX(180deg);
  z-index: 1;
}
.landing-fly__heart {
  position: absolute;
  width: 56px;
  height: 50px;
  left: 50%;
  top: 50%;
  z-index: 60;
  transform: translate(-50%, -38%) scale(0.92);
  pointer-events: none;
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.landing-fly.is-open .landing-fly__heart {
  opacity: 0;
  transform: translate(-50%, -38%) scale(2.55);
  animation: none;
}
.landing-fly__heart::before,
.landing-fly__heart::after {
  content: "";
  width: 28px;
  height: 44px;
  position: absolute;
  left: 28px;
  top: 0;
  border-radius: 50px 50px 6px 6px;
  background: #733f47;
  transform: rotate(-45deg);
  transform-origin: 0 100%;
  box-shadow: 0 4px 10px rgba(69, 37, 43, 0.22);
}
.landing-fly__heart::after {
  left: 0;
  transform: rotate(45deg);
  transform-origin: 100% 100%;
}
.landing-fly__hint {
  display: block;
  margin: 0.4rem auto 0;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9a8b82;
  animation: landing-fly-hint 2s ease-in-out infinite;
  pointer-events: none;
}
.landing-fly.is-open .landing-fly__hint {
  opacity: 0;
  visibility: hidden;
  animation: none;
  height: 0;
  margin: 0;
}
.landing-fly__wing {
  background: #fffefb;
  border-radius: 12px 20px 60px 20px;
  width: 120px;
  height: 50px;
  margin-top: 100px;
  position: absolute;
  border-bottom: 3px solid rgba(69, 37, 43, 0.08);
  z-index: 1;
  pointer-events: none;
}
.landing-fly__wing--right {
  margin-left: -60px;
  left: 50%;
  animation: landing-fly-flap-r 1s ease-in-out infinite;
  border-radius: 12px 20px 60px 20px;
  transform: rotate(-10deg) translate(230px, 0);
}
.landing-fly__wing--right::before,
.landing-fly__wing--right::after,
.landing-fly__wing--left::before,
.landing-fly__wing--left::after {
  position: absolute;
  content: "";
  background: #fffefb;
  border-bottom: 3px solid rgba(69, 37, 43, 0.08);
}
.landing-fly__wing--right::before {
  width: 70%;
  height: 70%;
  border-radius: 20px 20px 60px 20px;
  transform: rotate(20deg) translate(-1px, 0);
  margin-top: 38px;
}
.landing-fly__wing--right::after {
  width: 40%;
  height: 30%;
  transform: rotate(29deg) translate(-8px, 0);
  border-radius: 0 0 60px 70px;
  margin-top: 66px;
}
.landing-fly__wing--left {
  border-radius: 12px 20px 20px 60px;
  margin-left: -60px;
  left: 50%;
  animation: landing-fly-flap-l 1s ease-in-out infinite;
  transform: rotate(10deg) translate(-230px, 0);
}
.landing-fly__wing--left::before {
  width: 70%;
  transform: translate(46%, 0) rotate(-20deg);
  height: 60%;
  border-radius: 12px 20px 70px 70px;
  margin-top: 40px;
}
.landing-fly__wing--left::after {
  width: 40%;
  height: 30%;
  transform: translate(164%, 0) rotate(-34deg);
  border-radius: 0 0 70px 60px;
  margin-top: 58px;
}
.landing-fly.is-open .landing-fly__wing--left,
.landing-fly.is-open .landing-fly__wing--right {
  animation: none;
}

@keyframes landing-fly-float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(0, 3px); }
}
@keyframes landing-fly-flap-r {
  0%, 100% { transform: rotate(-10deg) translate(230px, 0); }
  50% { transform: rotate(-5deg) translate(230px, 0); }
}
@keyframes landing-fly-flap-l {
  0%, 100% { transform: rotate(10deg) translate(-230px, 0); }
  50% { transform: rotate(5deg) translate(-230px, 0); }
}
@keyframes landing-fly-hint {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

.landing-hero__visual-caption {
  margin: 0.55rem auto 0;
  max-width: 26ch;
  text-align: center;
  font-size: 0.82rem;
  color: var(--landing-muted);
  line-height: 1.4;
  display: grid;
  gap: 0.35rem;
  justify-items: center;
}
.landing-hero__visual-caption-label {
  display: inline-block;
  margin: 0;
  padding: 0.24rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(115, 63, 71, 0.18);
  background: rgba(255, 250, 244, 0.88);
  color: var(--landing-accent);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.landing-hero__visual-caption-text {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .landing-fly__envelope,
  .landing-fly__wing--left,
  .landing-fly__wing--right,
  .landing-fly__hint {
    animation: none;
  }
  .landing-fly__flap,
  .landing-fly__letter,
  .landing-fly__heart {
    transition: none;
  }
  .landing-fly.is-open .landing-fly__letter {
    transform: translateY(-90px);
  }
}

.landing-instant {
  margin: 0 0 clamp(2.25rem, 5vw, 3.25rem);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  border-radius: 1.25rem;
  border: 1px solid rgba(166, 124, 61, 0.18);
  background:
    linear-gradient(145deg, rgba(255, 253, 249, 0.95), rgba(247, 241, 234, 0.88));
  box-shadow: 0 16px 40px rgba(69, 37, 43, 0.05);
}
.landing-instant__copy {
  max-width: 38rem;
  margin: 0 0 1.25rem;
}
.landing-instant__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}
.landing-instant__grid li {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.05rem;
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(42, 35, 28, 0.06);
}
.landing-instant__grid strong {
  font-size: 1.02rem;
  color: var(--landing-ink);
}
.landing-instant__grid span {
  color: var(--landing-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.landing-preview {
  margin: 0 0 clamp(2.5rem, 5vw, 3.75rem);
}
.landing-preview__head {
  max-width: 36rem;
  margin: 0 0 1.35rem;
}
.landing-carousel {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: clamp(24rem, 58vw, 38rem);
  isolation: isolate;
}
.landing-carousel__stage {
  position: relative;
  width: 100%;
  height: clamp(24rem, 58vw, 38rem);
  touch-action: pan-y;
  cursor: grab;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
}
.landing-carousel__stage.is-dragging {
  cursor: grabbing;
}
.landing-carousel__canvas {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}
.landing-carousel__hint {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  z-index: 3;
  margin: 0;
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(166, 124, 61, 0.28);
  background: rgba(255, 250, 244, 0.9);
  color: var(--landing-ink);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  pointer-events: none;
  transition: opacity 0.45s ease;
}
.landing-carousel__hint.is-faded {
  opacity: 0;
}
.landing-carousel__thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.landing-carousel__thumb img {
  display: block;
  width: 100%;
  height: auto;
}
.landing-lightbox[hidden] {
  display: none !important;
}
.landing-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.landing-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(26, 16, 18, 0.72);
  cursor: pointer;
}
.landing-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  max-height: min(88vh, 920px);
  margin: 0;
  padding: 0;
  border-radius: 1rem;
  overflow: hidden;
  background: #fffaf4;
  box-shadow: 0 28px 80px rgba(26, 16, 18, 0.35);
  animation: landing-lightbox-in 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.landing-lightbox__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(88vh, 920px);
  object-fit: contain;
  background: #1a1012;
}
.landing-lightbox__close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  width: 2.35rem;
  height: 2.35rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.94);
  color: #2a181c;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(26, 16, 18, 0.18);
}
.landing-lightbox__close:hover {
  background: #fff;
}
@keyframes landing-lightbox-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .landing-lightbox__dialog { animation: none; }
}
.landing-carousel.is-fallback .landing-carousel__stage,
.landing-carousel.is-fallback .landing-carousel__hint {
  display: none;
}
.landing-carousel.is-fallback .landing-carousel__fallback {
  display: block;
}
.landing-carousel__fallback[hidden] {
  display: none !important;
}
.landing-carousel.is-fallback .landing-carousel__fallback[hidden] {
  display: block !important;
  padding: 0 1.25rem;
}
.landing-preview__hero,
.landing-preview__pair figure {
  margin: 0;
  border-radius: 1.1rem;
  overflow: hidden;
  border: 1px solid rgba(166, 124, 61, 0.16);
  background: #fffaf4;
  box-shadow: 0 18px 44px rgba(69, 37, 43, 0.08);
}
.landing-preview__hero {
  margin-bottom: 0.95rem;
}
.landing-preview__hero img,
.landing-preview__pair img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}
.landing-preview__hero figcaption,
.landing-preview__pair figcaption {
  padding: 0.7rem 1rem 0.85rem;
  font-size: 0.82rem;
  color: var(--landing-muted);
  border-top: 1px solid rgba(232, 217, 208, 0.9);
  background: rgba(255, 250, 244, 0.92);
}
.landing-preview__pair {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 0.95rem;
}
.landing-preview__cta {
  margin: 1.25rem 0 0;
  display: flex;
  justify-content: flex-start;
  padding-inline: 0;
}
.landing-contact__selfserve {
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
}
.landing-contact__selfserve a {
  color: var(--landing-accent);
  font-weight: 600;
  text-underline-offset: 0.2em;
}

.landing-steps {
  margin: 0 0 clamp(1.75rem, 4vw, 2.75rem);
  padding-top: 0.25rem;
}
.landing-steps h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--landing-ink);
}
.landing-steps ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  list-style: none;
  counter-reset: steps;
  padding: 0;
  margin: 1rem 0 0;
}
.landing-steps li {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--landing-border);
  border-radius: 14px;
  background: rgba(255, 250, 244, 0.78);
}
.landing-steps li::before {
  counter-increment: steps;
  content: "0" counter(steps);
  color: var(--landing-accent);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.06em;
}
.landing-steps li strong {
  font-size: 1.02rem;
  color: var(--landing-ink);
}
.landing-steps li span {
  color: var(--landing-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.landing-features {
  margin: 0 0 clamp(2.5rem, 5vw, 3.5rem);
  padding: clamp(1.75rem, 4vw, 2.5rem) 0 0;
}
.landing-features__head {
  max-width: 36rem;
  margin: 0 0 1.5rem;
}
.landing-features__eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--landing-accent);
}
.landing-features__head h2,
.landing-contact__intro h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  letter-spacing: -0.02em;
  color: var(--landing-ink);
  line-height: 1.12;
}
.landing-features__lead {
  margin: 0.7rem 0 0;
  color: var(--landing-muted);
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 38ch;
}
.landing-features__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1rem;
}
@media (min-width: 900px) {
  .landing-features__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.landing-features__item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0;
  padding: 1rem 1.05rem;
  border-radius: 14px;
  background: rgba(255, 250, 244, 0.82);
  border: 1px solid rgba(232, 217, 208, 0.95);
  min-height: 100%;
}
.landing-features__mark {
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.12rem;
  border-radius: 50%;
  background:
    linear-gradient(145deg, #8a5259, #733f47);
  box-shadow: 0 0 0 3px rgba(115, 63, 71, 0.1);
  position: relative;
}
.landing-features__mark::after {
  content: "";
  position: absolute;
  left: 0.34rem;
  top: 0.24rem;
  width: 0.28rem;
  height: 0.5rem;
  border: solid #fffaf4;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.landing-features__text {
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--landing-ink);
  font-weight: 500;
}
.landing-features__more {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.35rem 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--landing-accent);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.landing-features__demo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
  margin: 1.15rem 0 0;
  font-size: 0.88rem;
  color: var(--landing-muted);
}
.landing-features__demo a {
  color: var(--landing-accent);
  font-weight: 600;
  text-underline-offset: 0.15em;
}
.landing-features__demo-hint {
  opacity: 0.75;
  font-size: 0.8rem;
}

.landing-contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.25rem, 4vw, 2.75rem);
  align-items: start;
  margin: 0 0 1.75rem;
  padding: clamp(1.5rem, 3vw, 2rem) 0 0;
  border-top: 1px solid rgba(232, 217, 208, 0.9);
}
.landing-contact__card {
  background: rgba(255, 252, 248, 0.94);
  border: 1px solid rgba(31, 26, 20, 0.08);
  border-radius: 1.1rem;
  padding: 1.35rem 1.4rem 1.5rem;
  box-shadow: 0 12px 40px rgba(45, 36, 28, 0.06);
}
.landing-contact__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
  margin-bottom: 1rem;
}
.landing-contact__message {
  grid-column: 1 / -1;
}
.landing-contact__form label {
  display: block;
  margin-bottom: 0.3rem;
}

.landing-hero :focus-visible,
.landing-features :focus-visible,
.landing-contact :focus-visible {
  outline: 2px solid var(--landing-accent);
  outline-offset: 4px;
}

@media (max-width: 860px) {
  .landing-hero,
  .landing-steps ol,
  .landing-instant__grid,
  .landing-preview__pair,
  .landing-contact,
  .landing-features__grid,
  .landing-contact__fields {
    grid-template-columns: minmax(0, 1fr);
  }
  .landing-hero {
    min-height: 0;
    padding-top: 0.35rem;
    padding-bottom: 1.75rem;
    gap: 0.85rem;
    justify-items: center;
  }
  .landing-hero__copy {
    order: 1;
    max-width: 28rem;
    width: 100%;
    align-items: center;
    text-align: center;
    padding-top: 0;
  }
  .landing-hero__visual {
    order: 2;
    width: 100%;
  }
  .landing-hero__eyebrow {
    margin-bottom: 0.4rem;
  }
  .landing-hero h1 {
    max-width: 14ch;
    margin-bottom: 0.7rem;
    font-size: clamp(2.35rem, 9.5vw, 3.05rem);
  }
  .landing-lead {
    max-width: 32ch;
    margin: 0 auto 1rem;
    font-size: 0.98rem;
    line-height: 1.5;
  }
  .landing-hero__actions {
    width: 100%;
    gap: 0.7rem;
  }
  .landing-hero__cta {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }
  .landing-hero__cta .landing-cta-primary,
  .landing-hero__cta .btn-wedify-ghost {
    width: 100%;
  }
  .landing-hero__meta {
    max-width: 30ch;
    margin: 0 auto;
    gap: 0.3rem;
    justify-items: center;
  }
  .landing-hero__assurance,
  .landing-hero__note {
    text-align: center;
  }
  .landing-phone {
    width: min(100%, 19rem);
    margin: 0.35rem auto 0;
  }
  .landing-envelope {
    padding-inline: 1rem;
  }
  .landing-fly {
    width: min(100%, 22rem);
    height: 250px;
  }
  .landing-fly.is-open {
    height: 380px;
  }
  .landing-fly__wing {
    display: none;
  }
  .landing-fly__envelope {
    width: min(300px, 88%);
  }
  .landing-fly.is-open .landing-fly__letter {
    transform: translateY(-100px);
    height: 230px;
  }
  .landing-preview__hero img,
  .landing-preview__pair img {
    max-width: 100%;
    height: auto;
  }
  .landing-contact__message { grid-column: auto; }
}
