:root {
  --paper: #f6f1e8;
  --paper-deep: #ece4d7;
  --ink: #2d211f;
  --wine: #71303b;
  --wine-dark: #56222c;
  --muted: #7b6e68;
  --line: rgba(66, 44, 38, .14);
  --white: #fffdf8;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 18px 45px rgba(69, 47, 39, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }

.topbar {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 10px 18px;
  background: rgba(246, 241, 232, .92);
  border-bottom: 1px solid rgba(82, 55, 48, .08);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; letter-spacing: -.035em; }
.brand-mark {
  display: grid;
  width: 38px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(113, 48, 59, .3);
  border-radius: 50%;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
}
.nav-actions { display: flex; align-items: center; gap: 20px; font-size: 12px; font-weight: 700; letter-spacing: -.015em; }
.nav-actions > a { display: none; }
.icon-button { border: 0; background: transparent; }
.menu-button { display: grid; width: 34px; height: 34px; padding: 8px; gap: 5px; place-content: center; }
.menu-button span { display: block; width: 18px; height: 1.5px; background: var(--wine); transition: .25s ease; }
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

main { overflow: clip; }
.hero { position: relative; padding: 48px 18px 38px; }
.hero::before { position: absolute; top: 12%; right: -80px; width: 220px; height: 220px; content: ""; border: 1px solid rgba(113,48,59,.11); border-radius: 50%; pointer-events: none; }
.hero-intro { position: relative; z-index: 2; padding-inline: 4px; text-align: center; }
.eyebrow, .section-kicker { margin: 0 0 13px; color: var(--wine); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 8px; }
.eyebrow span { width: 22px; height: 1px; background: var(--wine); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 600; }
h1 { max-width: 680px; margin-bottom: 21px; font-size: clamp(50px, 13.5vw, 78px); line-height: .86; letter-spacing: -.05em; }
h1 em { color: var(--wine); font-weight: 500; }
.hero-copy { max-width: 540px; margin: 0 auto 33px; color: var(--muted); font-size: 14px; line-height: 1.72; letter-spacing: -.015em; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 15px; margin-bottom: 37px; }
.primary-action { display: flex; min-height: 48px; padding: 0 17px; align-items: center; gap: 13px; color: var(--white); border-radius: 999px; background: var(--wine); font-size: 11px; font-weight: 700; box-shadow: 0 13px 28px rgba(113,48,59,.18); }
.primary-action span { font-size: 14px; }
.quiet-note { display: flex; max-width: 120px; align-items: center; gap: 7px; color: var(--muted); font-size: 9px; font-weight: 600; line-height: 1.4; }
.quiet-note i { display: block; width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #809a7b; box-shadow: 0 0 0 4px rgba(128,154,123,.14); }
.hero-showcase { position: relative; height: 440px; margin: 0 -18px 26px; overflow: hidden; background: linear-gradient(160deg, #e7ded0 0%, #f9f5ed 45%, #e9d7d2 100%); border-block: 1px solid rgba(113,48,59,.1); isolation: isolate; }
.hero-showcase::before { position: absolute; inset: 0; z-index: -2; content: ""; opacity: .48; background-image: radial-gradient(circle at 1px 1px, rgba(113,48,59,.2) 1px, transparent 0); background-size: 19px 19px; mask-image: linear-gradient(to bottom, transparent, black 35%, black 75%, transparent); }
.hero-showcase::after { position: absolute; z-index: -1; right: 50%; bottom: -93px; width: 330px; height: 330px; content: ""; border: 1px solid rgba(113,48,59,.2); border-radius: 50%; transform: translateX(50%); box-shadow: 0 0 0 40px rgba(255,255,255,.18), 0 0 0 80px rgba(255,255,255,.1); }
.showcase-word { position: absolute; top: 18px; left: 50%; color: rgba(113,48,59,.33); font-size: 9px; font-weight: 700; letter-spacing: .28em; transform: translateX(-50%); white-space: nowrap; }
.preview-rail { position: absolute; top: 89px; right: 0; left: 0; height: 278px; overflow: hidden; }
.preview-track { display: flex; width: max-content; gap: 14px; animation: previewRailRight 24s linear infinite; will-change: transform; }
.rail-card { position: relative; width: 132px; height: 265px; padding: 3px; margin: 0; overflow: hidden; flex: 0 0 132px; border: 1px solid rgba(39,31,28,.2); border-radius: 22px; background: #f8f4ed; box-shadow: 0 16px 40px rgba(56,39,34,.16); }
.rail-card:nth-child(odd) { transform: rotate(-3deg) translateY(4px); }
.rail-card:nth-child(even) { transform: rotate(3deg) translateY(-3px); }
.rail-card img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; transform: scale(1.018); }
@keyframes previewRailRight { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(calc(-50% - 7px), 0, 0); } }
.showcase-phone { position: absolute; z-index: 3; top: 44px; left: 50%; display: block; width: 196px; height: 354px; padding: 3px; overflow: hidden; border: 3px solid #292321; border-radius: 34px; background: #f9f5ed; box-shadow: 0 27px 50px rgba(52,35,31,.3); transform: translateX(-50%); }
.showcase-phone > img, .showcase-phone > video { position: absolute; inset: 3px; width: calc(100% - 6px); height: calc(100% - 6px); object-fit: cover; border-radius: 28px; transform: scale(1.015); }
.video-fallback { z-index: 1; }
.showcase-phone > video { z-index: 2; opacity: 0; background: #eee7dc; transition: opacity .45s ease; }
.showcase-phone.video-ready > video { opacity: 1; }
.phone-top { position: absolute; z-index: 4; top: 9px; left: 50%; width: 50px; height: 12px; border-radius: 999px; background: #26211f; transform: translateX(-50%); }
.showcase-stamp { position: absolute; z-index: 5; right: 19px; bottom: 18px; display: grid; width: 64px; height: 64px; place-content: center; color: var(--wine); border: 1px solid rgba(113,48,59,.3); border-radius: 50%; background: rgba(246,241,232,.86); font-size: 8px; font-weight: 700; line-height: 1.05; text-align: center; text-transform: uppercase; transform: rotate(8deg); backdrop-filter: blur(7px); }
.showcase-stamp b { font-family: var(--serif); font-size: 21px; line-height: .75; }
.hero-meta { display: grid; grid-template-columns: repeat(3, 1fr); padding: 18px 4px 0; border-top: 1px solid var(--line); }
.hero-meta div { display: flex; min-width: 0; padding-right: 10px; flex-direction: column; }
.hero-meta strong { font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1; }
.hero-meta span { margin-top: 4px; color: var(--muted); font-size: 9px; font-weight: 500; line-height: 1.4; }

.catalog { padding: 39px 18px 50px; background: var(--white); border-radius: 26px 26px 0 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 22px; }
.section-heading h2, .how-it-works h2, .order-section h2 { margin-bottom: 0; font-size: 38px; line-height: .98; letter-spacing: -.025em; }
.result-count { padding-bottom: 3px; color: var(--muted); font-size: 11px; }
.catalog-tools { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 22px; }
.filters { display: flex; padding: 4px; gap: 3px; overflow-x: auto; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.filter { flex: 0 0 auto; padding: 9px 14px; color: var(--muted); border: 0; border-radius: 999px; background: transparent; font-size: 10px; font-weight: 600; cursor: pointer; }
.filter.active { color: white; background: var(--wine); }
.view-toggle { display: grid; width: 42px; flex: 0 0 42px; place-items: center; color: var(--wine); border: 1px solid var(--line); border-radius: 50%; background: var(--paper); cursor: pointer; }
.view-toggle svg { width: 16px; fill: currentColor; }
.theme-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 12px; }
.theme-card { min-width: 0; }
.theme-card[hidden] { display: none; }
.theme-visual {
  position: relative;
  display: grid;
  height: 224px;
  padding: 19px 14px 14px;
  overflow: hidden;
  place-items: center;
  border-radius: 19px;
  background: #ebe8e0;
  isolation: isolate;
}
.theme-visual::before { position: absolute; z-index: -1; width: 130px; height: 130px; content: ""; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; }
.theme-red { background: linear-gradient(145deg, #e8d7d2, #b46d70); }
.theme-gold { background: linear-gradient(145deg, #eee7d7, #c4a064); }
.theme-sage { background: linear-gradient(145deg, #e3e9df, #81978b); }
.theme-brown { background: linear-gradient(145deg, #e3c8a2, #7b4a35); }
.badge { position: absolute; z-index: 3; top: 10px; left: 10px; padding: 5px 8px; color: #fff; border-radius: 999px; background: var(--wine); font-size: 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.badge-soft { color: var(--ink); background: rgba(255,253,248,.78); }
.phone-shell {
  display: block;
  width: 92px;
  height: 173px;
  padding: 0;
  overflow: hidden;
  border: 3px solid #24201f;
  border-radius: 18px;
  background: #fbf8f2;
  box-shadow: 0 13px 27px rgba(39,26,21,.28);
  transform: rotate(-2deg);
  transition: transform .3s ease;
}
.theme-card:nth-child(even) .phone-shell { transform: rotate(2deg); }
.phone-shell img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 13px; transform: scale(1.015); }
.envelope-preview img { object-fit: contain; background: #e8d3b5; transform: scale(1.8); }
.theme-visual:active .phone-shell, .theme-visual:hover .phone-shell { transform: rotate(0) translateY(-4px); }
.preview-label { position: absolute; right: 9px; bottom: 9px; padding: 8px 10px; border-radius: 999px; background: rgba(255,253,248,.91); font-size: 9px; font-weight: 700; }
.theme-info { display: flex; align-items: center; justify-content: space-between; padding: 12px 2px 0; }
.theme-info h3 { margin-bottom: 1px; font-family: var(--serif); font-size: 23px; font-weight: 600; line-height: 1; letter-spacing: -.025em; }
.theme-info p { margin-bottom: 0; color: var(--muted); font-size: 9px; font-weight: 500; }
.theme-info .theme-price { margin-top: 6px; color: var(--wine); font-size: 12px; font-weight: 700; letter-spacing: -.02em; }
.choose-theme { display: grid; width: 31px; aspect-ratio: 1; place-items: center; color: var(--wine); border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 20px; line-height: 1; cursor: pointer; }

.theme-grid.list-view { grid-template-columns: 1fr; gap: 14px; }
.theme-grid.list-view .theme-card { display: grid; grid-template-columns: 128px 1fr; align-items: center; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.theme-grid.list-view .theme-visual { height: 158px; border-radius: 0; }
.theme-grid.list-view .phone-shell { width: 67px; height: 125px; border-radius: 13px; }
.theme-grid.list-view .theme-info { padding: 16px; }

.how-it-works { padding: 66px 22px 70px; }
.how-it-works h2 { max-width: 280px; margin-bottom: 33px; }
.steps { padding: 0; margin: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 47px 1fr; gap: 13px; padding: 19px 0; border-top: 1px solid var(--line); }
.steps li > span { padding-top: 3px; color: var(--wine); font-size: 10px; font-weight: 700; }
.steps h3 { margin-bottom: 4px; font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1; letter-spacing: -.02em; }
.steps p { margin-bottom: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }

.order-section { padding: 50px 22px 58px; color: var(--white); background: var(--wine); }
.order-section .section-kicker { color: #d9b5b2; }
.order-section > p:not(.section-kicker) { margin: 16px 0 30px; color: #ead9d5; font-size: 13px; line-height: 1.6; }
form { display: grid; gap: 9px; }
label { margin-top: 7px; color: #ead9d5; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
input, select { width: 100%; height: 50px; padding: 0 15px; color: var(--white); border: 1px solid rgba(255,255,255,.24); border-radius: 13px; outline: none; background: rgba(255,255,255,.08); }
select option { color: var(--ink); }
input::placeholder { color: #cbaaaa; }
input:focus, select:focus { border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.1); }
form button { display: flex; align-items: center; justify-content: space-between; height: 52px; padding: 0 18px; margin-top: 11px; color: var(--wine-dark); border: 0; border-radius: 999px; background: var(--white); font-weight: 700; cursor: pointer; }

footer { padding: 45px 22px 125px; background: #281e1c; color: #efe6dc; }
.footer-brand { margin-bottom: 22px; }
footer p { max-width: 340px; color: #b9aaa3; font-size: 12px; line-height: 1.6; }
footer small { color: #81736d; font-size: 10px; }

.sticky-cta { position: fixed; z-index: 25; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); left: 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 11px 11px 16px; border: 1px solid rgba(255,255,255,.55); border-radius: 19px; background: rgba(255,253,248,.94); box-shadow: var(--shadow); backdrop-filter: blur(14px); }
.sticky-cta div { display: flex; min-width: 0; flex-direction: column; }
.sticky-cta span { color: var(--muted); font-size: 9px; }
.sticky-cta strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.sticky-cta a { flex: 0 0 auto; padding: 13px 16px; color: white; border-radius: 999px; background: var(--wine); font-size: 11px; font-weight: 700; }

.mobile-menu { position: fixed; z-index: 29; top: 67px; right: 12px; left: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow); }
.mobile-menu:not([hidden]) { display: grid; }
.mobile-menu a { padding: 13px 10px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 24px; font-weight: 600; }
.mobile-menu a:last-child { color: var(--wine); border-bottom: 0; }
.toast { position: fixed; z-index: 50; right: 18px; bottom: 95px; left: 18px; padding: 13px 16px; color: white; border-radius: 12px; background: #281e1c; box-shadow: var(--shadow); font-size: 12px; text-align: center; }

@media (min-width: 700px) {
  .topbar { height: 78px; padding-inline: max(32px, calc((100vw - 1080px) / 2)); }
  .nav-actions > a { display: block; }
  .hero, .catalog, .how-it-works, .order-section, footer { padding-inline: max(32px, calc((100vw - 1080px) / 2)); }
  .hero { display: grid; grid-template-columns: minmax(0, .88fr) minmax(430px, 1.12fr); column-gap: 70px; padding-top: 72px; padding-bottom: 70px; align-items: center; }
  .hero-intro { align-self: center; }
  .hero-intro { text-align: left; }
  .hero-intro .eyebrow, .hero-actions { justify-content: flex-start; }
  .hero-copy { margin-right: 0; margin-left: 0; }
  h1 { max-width: 650px; font-size: clamp(72px, 5.6vw, 96px); line-height: .84; }
  .hero-copy { max-width: 480px; }
  .hero-actions { margin-bottom: 0; }
  .hero-showcase { height: 570px; margin: 0; border: 1px solid rgba(113,48,59,.1); border-radius: 34px; }
  .preview-rail { top: 130px; height: 338px; }
  .preview-track { gap: 18px; animation-duration: 30s; }
  .rail-card { width: 174px; height: 325px; flex-basis: 174px; }
  @keyframes previewRailRight { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(calc(-50% - 9px), 0, 0); } }
  .showcase-phone { top: 72px; width: 242px; height: 430px; border-radius: 42px; }
  .showcase-phone > img, .showcase-phone > video { border-radius: 36px; }
  .phone-top { top: 10px; width: 60px; height: 14px; }
  .hero-meta { grid-column: 1 / -1; width: 100%; padding: 22px 0 0; margin-top: 34px; }
  .hero-meta div { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; }
  .hero-meta span { max-width: 140px; }
  .catalog { border-radius: 34px 34px 0 0; }
  .theme-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .theme-visual { height: 330px; }
  .phone-shell { width: 134px; height: 251px; border-radius: 24px; }
  .section-heading h2, .how-it-works h2, .order-section h2 { font-size: 56px; }
  .how-it-works h2 { max-width: none; }
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
  .steps li { grid-template-columns: 1fr; }
  .order-section { display: grid; grid-template-columns: 1fr 1fr; column-gap: 70px; }
  .order-section .section-kicker, .order-section h2 { grid-column: 1; }
  .order-section > p:not(.section-kicker) { grid-column: 1; }
  .order-section form { grid-column: 2; grid-row: 1 / span 4; }
  .sticky-cta { right: 24px; bottom: 20px; left: auto; width: 430px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .preview-track { animation-play-state: paused; }
}
