/* WeDay landing (design: design/WeDay Landing.dc.html). Light "Oq ipak" palette only, as designed. */
:root {
  --bg: #fbf7f1;
  --surface: #ffffff;
  --blush: #ead9cf;
  --blush-soft: #f4eae3;
  --champ: #b8955a;
  --gold: #8c6b35;
  --ink: #2b2722;
  --muted: #6e6458;
  --night: #1a1714;
  --night-2: #24201b;
  --night-champ: #d4b47a;
  --night-ink: #f3ece2;
  --night-muted: #cfc3b2;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --gutter: clamp(20px, 4vw, 48px);
  color-scheme: light;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  font-variant-numeric: lining-nums tabular-nums !important;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
::selection {
  background: var(--blush);
  color: var(--ink);
}
* {
  scrollbar-width: thin;
  scrollbar-color: #d9cbb9 transparent;
}
a {
  color: var(--gold);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
a:hover {
  color: var(--ink);
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
img,
video,
iframe {
  display: block;
}
.i {
  width: 1em;
  height: 1em;
  flex: none;
}
[hidden] {
  display: none !important;
}
.wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.stack-16 {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.stack-4 {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.display {
  font-family: var(--serif);
  font-weight: 500;
}
/* tighten ʻ in display sizes (design: margin-left -0.015em, margin-right -0.045em) */
.display .ok {
  margin-left: -0.015em;
  margin-right: -0.045em;
}
.h2 {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.015em;
}
.h2--narrow {
  max-width: 12ch;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: transform 120ms var(--ease-out);
}
.btn:hover {
  color: #fff;
}
.btn:active {
  transform: scale(0.97);
}
.btn--sm {
  flex: none;
  min-height: 44px;
  padding: 0 18px;
  gap: 8px;
  border-radius: 999px;
  font-size: 14px;
}
.btn--sm .i {
  font-size: 18px;
}
.btn--lg {
  min-height: 56px;
  padding: 0 28px;
  border-radius: 16px;
  font-size: 16px;
}
.btn--lg .i {
  font-size: 20px;
}
.btn--glow {
  box-shadow:
    0 1px 2px rgba(43, 39, 34, 0.08),
    0 14px 30px -14px rgba(140, 107, 53, 0.6);
}
.link-btn {
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--gold);
  font: 600 14px var(--sans);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.link-btn .i {
  font-size: 17px;
}
.link-btn--muted {
  color: var(--muted);
  font-weight: 500;
  gap: 8px;
}
.link-btn--muted .i {
  font-size: 18px;
  color: var(--gold);
}
.narrow-only {
  display: none;
}

/* ---------- header ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 247, 241, 0.96);
  box-shadow: 0 10px 20px -18px rgba(43, 39, 34, 0.35);
}
.top__in {
  padding-top: 12px;
  padding-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.top__brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
}
.top__nav {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}
.top__nav a {
  display: inline-flex;
  min-height: 44px;
  padding: 0 14px;
  align-items: center;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 160ms var(--ease-out);
}
.top__nav a:hover {
  background: var(--blush-soft);
}

/* ---------- hero ---------- */
.hero-wrap {
  position: relative;
}
.hero-field {
  position: absolute;
  top: 40px;
  bottom: 40px;
  right: 0;
  left: 61%;
  border-radius: 44px 0 0 44px;
  background: var(--blush);
  overflow: hidden;
}
.hero-field img {
  position: absolute;
  right: -6%;
  bottom: -10%;
  width: 62%;
  opacity: 0.5;
  mix-blend-mode: multiply;
  border-radius: 40px;
}
.hero {
  position: relative;
  padding-top: 44px;
  padding-bottom: 88px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.hero__text {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 620px;
}
.hero__title {
  font-size: clamp(76px, 8.4vw, 132px);
  line-height: 0.94;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero__lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 44ch;
  text-wrap: pretty;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}
.hero__see {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.hero__note {
  font-size: 13px;
  color: var(--muted);
}
.hero__phone-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.hero__hint {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero__sample {
  font-size: 13px;
  color: var(--muted);
}

/* the phone with the envelope; stages: sealed -> opening (video) -> open (invitation) */
.phone {
  position: relative;
  width: min(380px, 30vw, max(260px, calc((100svh - 210px) * 0.4865)));
  aspect-ratio: 360 / 740;
  border-radius: 58px;
  corner-shape: squircle;
  background: #1f1b17;
  padding: 12px;
  box-shadow:
    inset 0 0 0 1.5px #4a4137,
    0 2px 4px rgba(43, 39, 34, 0.12),
    0 50px 90px -30px rgba(43, 39, 34, 0.5);
  transition: transform 220ms var(--ease-out);
}
.phone[data-stage='sealed'] {
  cursor: pointer;
}
@media (hover: hover) and (min-width: 900px) {
  .phone[data-stage='sealed']:hover {
    transform: translateY(-6px);
  }
}
.phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 46px;
  overflow: hidden;
  background: #e9e1d4;
}
.phone__fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.phone__inv {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  transform-origin: 50% 40%;
  transition:
    opacity 700ms var(--ease-out),
    transform 900ms var(--ease-out);
  pointer-events: none;
  background: var(--bg);
}
.phone__inv iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.phone[data-stage='open'] .phone__inv {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.phone__glow {
  position: absolute;
  left: 50%;
  top: 51.5%;
  width: 27%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  animation: wd-glow 2.8s cubic-bezier(0.37, 0, 0.63, 1) infinite;
  pointer-events: none;
}
.phone:not([data-stage='sealed']) .phone__glow,
.phone:not([data-stage='sealed']) .phone__tap {
  display: none;
}
@keyframes wd-glow {
  0%,
  100% {
    box-shadow:
      0 0 0 0 rgba(212, 180, 122, 0),
      0 0 0 0 rgba(212, 180, 122, 0);
  }
  50% {
    box-shadow:
      0 0 0 6px rgba(212, 180, 122, 0.22),
      0 0 28px 10px rgba(212, 180, 122, 0.38);
  }
}
.phone__tap {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 46px;
}
.phone__status {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  pointer-events: none;
}
.phone__icons {
  display: flex;
  gap: 5px;
  font-size: 15px;
}
.phone__island {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 29px;
  border-radius: 15px;
  background: #0e0c0a;
}

/* ---------- templates ---------- */
.templates {
  padding: clamp(48px, 7vw, 96px) 0;
  background: var(--blush-soft);
}
.templates__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 40px;
}
.templates__body {
  font-size: 16px;
  line-height: 1.6;
  max-width: 38ch;
}
.gallery {
  list-style: none;
  margin: 40px 0 0;
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--gutter);
  padding: 6px var(--gutter) 36px;
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar {
  display: none;
}
.tcard {
  flex: 0 0 clamp(250px, 24vw, 300px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tcard__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  corner-shape: squircle;
  overflow: hidden;
  background: var(--bg);
  box-shadow:
    0 1px 2px rgba(43, 39, 34, 0.06),
    0 22px 44px -16px rgba(43, 39, 34, 0.3);
}
.tcard__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tcard__foil {
  position: absolute;
  inset: 12px;
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px var(--foil);
  pointer-events: none;
}
.tcard__badge {
  position: absolute;
  top: 22px;
  left: 22px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(251, 247, 241, 0.94);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}
.tcard__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 4px;
}
.tcard__name {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.05;
  text-wrap: balance;
}
.tcard__price {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--muted);
}

/* ---------- steps ---------- */
.steps {
  padding-top: clamp(64px, 9vw, 128px);
  padding-bottom: clamp(64px, 9vw, 128px);
}
.steps__title {
  margin-bottom: clamp(36px, 5vw, 64px);
}
.steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 48px clamp(24px, 4vw, 64px);
}
.step {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.step__n {
  font-family: var(--serif);
  font-size: 96px;
  font-weight: 500;
  line-height: 0.8;
  color: var(--champ);
}
.step__title {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.1;
}
.step__body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 34ch;
}
.step__thumbs {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}
.step__thumbs img,
.step__thumb {
  position: relative;
  width: 56px;
  height: 70px;
  border-radius: 12px;
  overflow: hidden;
  object-fit: cover;
  background: #e9e1d4;
  box-shadow: 0 8px 18px -10px rgba(43, 39, 34, 0.4);
}
.step__field {
  position: relative;
  margin-top: 6px;
  max-width: 300px;
  height: 60px;
  padding: 22px 58px 6px 16px;
  border-radius: 14px;
  border: 1px solid var(--gold);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(140, 107, 53, 0.18);
  font-size: 16px;
  font-weight: 500;
}
.step__label {
  position: absolute;
  left: 17px;
  top: 9px;
  font-size: 12px;
  color: var(--gold);
}
.step__caret {
  display: inline-block;
  width: 1.5px;
  height: 18px;
  margin-left: 1px;
  vertical-align: -3px;
  background: var(--gold);
}
.step__count {
  position: absolute;
  right: 14px;
  bottom: 9px;
  font-size: 11px;
  color: var(--muted);
}
.step__link {
  align-self: flex-start;
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow:
    0 1px 2px rgba(43, 39, 34, 0.06),
    0 10px 24px -12px rgba(43, 39, 34, 0.3);
  font-size: 16px;
  font-weight: 600;
  color: var(--gold);
}
.step__link .i {
  font-size: 18px;
}

/* ---------- what guests see (night) ---------- */
.night {
  background: var(--night);
  color: var(--night-ink);
  padding: clamp(64px, 9vw, 128px) 0;
}
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.night__text {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.night__body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--night-muted);
  max-width: 40ch;
}
.night__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 16px;
}
.ncard {
  background: var(--night-2);
  border-radius: 24px;
  corner-shape: squircle;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow:
    inset 0 1px 0 rgba(255, 240, 220, 0.07),
    0 20px 44px -16px rgba(0, 0, 0, 0.6);
}
.ncard--count {
  gap: 14px;
}
.ncard--rsvp {
  grid-column: 1 / -1;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
}
.ncard__title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
}
.ncard__strong {
  font-size: 15px;
  font-weight: 600;
}
.ncard__muted {
  font-size: 14px;
  line-height: 1.5;
  color: var(--night-muted);
}
.ncard__small {
  font-size: 13px;
  color: var(--night-muted);
}
.ncard__map {
  align-self: flex-start;
  margin-top: 4px;
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--night-champ);
  color: var(--night-champ);
  font-size: 14px;
  font-weight: 600;
}
.ncard__map .i {
  font-size: 18px;
}
.count {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.count > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.count__v {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
  color: var(--night-champ);
}
.count__l {
  font-size: 12px;
  color: var(--night-muted);
}
.ncard__btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chip {
  min-height: 46px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px #4a4137;
  color: var(--night-ink);
  font-size: 14px;
  font-weight: 600;
}
.chip--on {
  background: var(--night-champ);
  color: var(--night);
  box-shadow: none;
}
.night__phone-col {
  display: flex;
  justify-content: center;
}
.nphone {
  position: relative;
  width: min(330px, 80vw);
  aspect-ratio: 330 / 680;
  border-radius: 54px;
  corner-shape: squircle;
  background: #0e0c0a;
  padding: 11px;
  box-shadow:
    inset 0 0 0 1.5px #4a4137,
    0 50px 90px -30px rgba(0, 0, 0, 0.8);
}
.nphone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 43px;
  overflow: hidden;
  background: var(--night) center / cover;
}
.nphone__screen video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nphone__shade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46%;
  background: linear-gradient(to top, rgba(18, 13, 8, 0.9), rgba(18, 13, 8, 0));
}
.nphone__names {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 34px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
}
.nphone__title {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
}
.nphone__sub {
  font-size: 13px;
  color: #e2d6c4;
}
.nphone__island {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 94px;
  height: 27px;
  border-radius: 14px;
  background: #0e0c0a;
}

/* ---------- RSVP ---------- */
.rsvp {
  padding-top: clamp(64px, 9vw, 128px);
  padding-bottom: clamp(64px, 9vw, 128px);
}
.rsvp__body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 40ch;
}
.rcard {
  background: var(--surface);
  border-radius: 28px;
  corner-shape: squircle;
  padding: 24px 24px 12px;
  box-shadow:
    0 1px 2px rgba(43, 39, 34, 0.06),
    0 30px 60px -24px rgba(43, 39, 34, 0.3);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.rcard__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.rcard__title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
}
.pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--blush-soft);
  font-size: 12px;
  font-weight: 600;
}
.pill--ok {
  background: #e7ede2;
  color: #4e6a4a;
}
.rcard__totals {
  display: flex;
  gap: 12px 32px;
  flex-wrap: wrap;
}
.rcard__totals > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.rcard__v {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 500;
  line-height: 1;
}
.rcard__l {
  font-size: 13px;
  color: var(--muted);
}
.rcard__rows {
  list-style: none;
  margin: 0;
  padding: 0;
}
.rcard__rows li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  flex-wrap: wrap;
}
.rcard__rows .pill {
  padding: 3px 9px;
}
.rcard__dot {
  width: 7px;
  height: 7px;
  border-radius: 4px;
  background: var(--gold);
}
.rcard__name {
  flex: 1 1 120px;
  min-width: 0;
  font-size: 15px;
  font-weight: 600;
}
.rcard__n {
  width: 56px;
  font-size: 13px;
}
.rcard__t {
  width: 96px;
  text-align: right;
  font-size: 12px;
  color: var(--muted);
}

/* ---------- price ---------- */
.price {
  background: var(--blush);
  padding: clamp(64px, 9vw, 128px) 0;
}
.price__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 48px clamp(40px, 6vw, 96px);
  align-items: start;
}
.price__main {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.price__amount {
  font-size: clamp(64px, 8vw, 120px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.price__per {
  font-size: 16px;
}
.price__cta {
  align-self: flex-start;
  margin-top: 12px;
}
.price__side {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.price__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 14px 28px;
}
.price__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.45;
}
.price__list .i {
  font-size: 17px;
  color: var(--gold);
  margin-top: 2px;
}
.price__notes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 960px;
  padding-top: clamp(64px, 9vw, 128px);
  padding-bottom: clamp(64px, 9vw, 128px);
}
.faq__title {
  margin-bottom: 32px;
}
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq details {
  background: var(--surface);
  border-radius: 20px;
  corner-shape: squircle;
  box-shadow:
    0 1px 2px rgba(43, 39, 34, 0.05),
    0 8px 24px -12px rgba(43, 39, 34, 0.16);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  min-height: 64px;
  padding: 0 20px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 17px;
  font-weight: 600;
  border-radius: 20px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .i {
  font-size: 20px;
  color: var(--gold);
  transition: transform 200ms var(--ease-out);
}
.faq details[open] summary .i {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 24px 22px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 68ch;
}

/* ---------- closing ---------- */
.final {
  background: var(--blush-soft);
  padding: clamp(72px, 10vw, 140px) var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.seal {
  position: relative;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 2px 4px rgba(60, 40, 20, 0.15),
    0 24px 40px -14px rgba(60, 40, 20, 0.45);
}
.seal img {
  width: 100%;
  height: 100%;
}
.seal span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 58px;
  color: #9a7438;
  text-shadow:
    0 1px 0 rgba(255, 250, 240, 0.7),
    0 -1px 0 rgba(90, 60, 20, 0.3);
}
.final__title {
  font-size: clamp(44px, 6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  max-width: 14ch;
  text-wrap: balance;
}

/* ---------- live seal over the still envelope (temporary, launch checklist §5) ----------
   The day envelope's video, poster and loop carry baked-in letters on the seal. A blank seal with
   the sample couple's monogram sits on top, in a 9:16 frame scaled like object-fit: cover. */
.sealed {
  position: absolute;
  inset: 0;
  container-type: size;
  pointer-events: none;
}
.sealed__frame {
  position: absolute;
  left: 50%;
  top: 50%;
  width: max(100cqw, 56.25cqh);
  aspect-ratio: 9 / 16;
  transform: translate(-50%, -50%);
}
.sealed__seal {
  position: absolute;
  left: 49.6%;
  top: 51.6%;
  width: 37%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(92, 64, 28, 0.18);
  container-type: inline-size;
}
/* the intro loop frames the seal a little lower and larger */
.sealed--loop .sealed__seal {
  left: 49.9%;
  top: 52%;
  width: 37.7%;
}
.sealed .sealed__seal img {
  position: static;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
}
.sealed__mono {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 25cqi;
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: #9a7438;
  text-shadow:
    0 1px 0 rgba(255, 250, 240, 0.7),
    0 -1px 0 rgba(90, 60, 20, 0.3);
}
.tcard__still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* hero opening without the video: the seal is pressed, the envelope comes closer and dissolves
   while the sample invitation rises over it */
.phone.is-opening .sealed__seal {
  animation: seal-press 420ms var(--ease-out) both;
}
.phone.is-opening .phone__fill,
.phone.is-opening .sealed {
  animation: envelope-in 900ms cubic-bezier(0.65, 0, 0.35, 1) 260ms both;
}
@keyframes seal-press {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }
  35% {
    transform: translate(-50%, -50%) scale(0.93);
  }
  100% {
    transform: translate(-50%, -50%) scale(1.02);
  }
}
@keyframes envelope-in {
  from {
    transform: scale(1);
    opacity: 1;
  }
  to {
    transform: scale(1.14);
    opacity: 0;
  }
}

/* ---------- legal pages (/oferta, /maxfiylik) ---------- */
.top--plain .top__in {
  justify-content: space-between;
}
.doc {
  max-width: calc(720px + 2 * var(--gutter));
  padding-top: clamp(40px, 7vw, 88px);
  padding-bottom: clamp(48px, 7vw, 96px);
}
.doc__title {
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.doc__lead {
  margin-top: 16px;
  font-size: 18px;
  color: var(--muted);
  text-wrap: pretty;
}
.doc__draft {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 20px;
  background: var(--blush-soft);
  font-size: 15px;
  font-weight: 500;
}
.doc__draft .i {
  margin-top: 2px;
  font-size: 20px;
  color: var(--gold);
}
.doc__sec {
  margin-top: 40px;
}
.doc__sec h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 500;
  line-height: 1.15;
  text-wrap: balance;
}
.doc__n {
  color: var(--gold);
}
.doc__sec p {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.65;
  text-wrap: pretty;
}
.doc__updated {
  margin-top: 48px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- footer ---------- */
.foot {
  padding-top: 40px;
  padding-bottom: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
}
.foot__brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
}
.foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 14px;
}
.foot__links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
}
.foot__links .i {
  font-size: 18px;
}
.foot__copy {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- narrow (< 900 px), as the design's `wide` switch ---------- */
@media (max-width: 899.98px) {
  .top__nav {
    display: none;
  }
  .top__in {
    justify-content: space-between;
  }
  .wide-only {
    display: none;
  }
  .narrow-only {
    display: inline;
  }
  .hero-field {
    display: none;
  }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 12px 20px 56px;
    gap: 22px;
  }
  .hero__text {
    order: 1;
    gap: 14px;
  }
  .hero__phone-col {
    order: -1;
    align-items: center;
    gap: 2px;
  }
  .hero__title {
    font-size: clamp(38px, 10.4vw, 48px);
  }
  .hero__lead {
    font-size: 15px;
  }
  .phone {
    width: min(300px, 76vw, calc(100svh * 0.48 * 0.4865));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .phone__glow {
    animation: none;
  }
  .phone__inv {
    transform: none;
    transition: opacity 300ms var(--ease-out);
  }
  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
  }
  .phone__inv {
    transition-duration: 300ms !important;
  }
}

/* ---------- sample template covers (design: Sample Cover; same as the Mini App admin) ---------- */
.scover {
  position: absolute;
  inset: 0;
  overflow: hidden;
  container-type: size;
  font-family: var(--serif);
  text-align: center;
}
.scover__names {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-weight: 500;
}
.scover__date {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.scover--bahor {
  background: #ead9cf;
}
.scover--bahor .scover__card {
  position: absolute;
  left: 12cqw;
  right: 12cqw;
  top: 9cqw;
  height: 80cqw;
  border-radius: 1.6cqw;
  background: #fffdf9;
  box-shadow:
    0 0.6cqw 1.2cqw rgba(92, 64, 28, 0.1),
    0 6cqw 10cqw -5cqw rgba(92, 64, 28, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.6cqw;
  color: #2b2722;
}
.scover--bahor .scover__frame {
  position: absolute;
  inset: 2.6cqw;
  border-radius: 0.8cqw;
  box-shadow: inset 0 0 0 1px rgba(184, 149, 90, 0.75);
}
.scover--bahor .scover__ring {
  width: 13cqw;
  height: 13cqw;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px #b8955a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5.4cqw;
  color: #8c6b35;
}
.scover--bahor .scover__names span,
.scover--samarqand .scover__names span {
  font-size: 9cqw;
}
.scover--bahor .scover__va,
.scover--samarqand .scover__va {
  margin: 0.8cqw 0;
  font-size: 4.6cqw !important;
  color: #8c6b35;
}
.scover--bahor .scover__date {
  font-size: 3.2cqw;
}
.scover--samarqand {
  background: #2b2722;
}
.scover--samarqand .scover__arch,
.scover--samarqand .scover__arch2,
.scover--samarqand .scover__in {
  position: absolute;
}
.scover--samarqand .scover__arch {
  left: 16cqw;
  right: 16cqw;
  top: 9cqw;
  height: 80cqw;
  border-radius: 34cqw 34cqw 1.6cqw 1.6cqw;
  background: #332d27;
  box-shadow: inset 0 0 0 1px rgba(212, 180, 122, 0.85);
}
.scover--samarqand .scover__arch2 {
  left: 19.5cqw;
  right: 19.5cqw;
  top: 12.5cqw;
  height: 73cqw;
  border-radius: 30cqw 30cqw 1cqw 1cqw;
  box-shadow: inset 0 0 0 1px rgba(212, 180, 122, 0.35);
}
.scover--samarqand .scover__in {
  left: 19.5cqw;
  right: 19.5cqw;
  top: 12.5cqw;
  height: 73cqw;
  box-sizing: border-box;
  padding-top: 8cqw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.4cqw;
  color: #f3ece2;
}
.scover--samarqand .scover__mono {
  font-size: 8cqw;
  font-weight: 500;
  line-height: 1;
  color: #d4b47a;
}
.scover--samarqand .scover__rule {
  width: 10cqw;
  height: 1px;
  background: rgba(212, 180, 122, 0.7);
}
.scover--samarqand .scover__va {
  color: #d4b47a;
}
.scover--samarqand .scover__date {
  font-size: 3.1cqw;
  color: #d9cdbd;
}
.scover--oq-atirgul {
  background: #faf6f0;
}
.scover--oq-atirgul .scover__in {
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  padding: 13cqw 8cqw 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.4cqw;
  color: #2b2722;
}
.scover--oq-atirgul .scover__big {
  font-size: 30cqw;
  line-height: 0.9;
  font-weight: 600;
  color: #f1e9de;
  text-shadow:
    0 0.35cqw 0 #ffffff,
    0 -0.35cqw 0 rgba(92, 64, 28, 0.18);
}
.scover--oq-atirgul .scover__names--line {
  font-size: 8.4cqw;
  line-height: 1.05;
  text-wrap: balance;
}
.scover--oq-atirgul .scover__date {
  font-size: 3.2cqw;
  color: #8c6b35;
}
