/* ============================================================
   SurpriseKart — storefront design system
   ============================================================ */

:root {
  --paper: #faf4ec;
  --paper-2: #f3e9dd;
  --cream: #fffcf7;
  --ink: #1d1512;
  --ink-2: #4c4039;
  --muted: #7d6f66;
  --line: rgba(29, 21, 18, 0.1);
  --line-strong: rgba(29, 21, 18, 0.2);
  --rose: #b23a52;
  --rose-deep: #8c2439;
  --rose-soft: #f6e3e5;
  --gold: #be9257;
  --gold-soft: #f2e5d2;
  --green: #3c6b52;
  --green-soft: #e6efe9;
  --font-display: "Fraunces", "Noto Serif Devanagari", "Noto Serif Tamil", "Noto Serif Gurmukhi", "Noto Serif Bengali", "Noto Nastaliq Urdu", "Iowan Old Style", Georgia, serif;
  --font-ui: "Plus Jakarta Sans", "Noto Sans Devanagari", "Noto Sans Tamil", "Noto Sans Gurmukhi", "Noto Sans Bengali", "Noto Sans Arabic", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow-sm: 0 1px 2px rgba(29, 21, 18, 0.05), 0 8px 24px -16px rgba(29, 21, 18, 0.25);
  --shadow-md: 0 2px 4px rgba(29, 21, 18, 0.04), 0 24px 48px -28px rgba(29, 21, 18, 0.35);
  --shadow-lg: 0 4px 10px rgba(29, 21, 18, 0.05), 0 48px 90px -40px rgba(29, 21, 18, 0.45);
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

body.no-scroll,
body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

button {
  font: inherit;
}

::selection {
  background: var(--rose);
  color: #fff;
}

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -100px;
  z-index: 1000;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 16px;
  border-radius: 999px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 720px) {
  .container {
    padding: 0 32px;
  }
}

.narrow {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Type ---------- */

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.028em;
  line-height: 1.08;
}

p {
  margin: 0;
}

.display {
  font-size: clamp(34px, 4.8vw, 58px);
  letter-spacing: -0.032em;
}

.display em {
  font-style: italic;
  color: var(--rose);
}

.display--tight {
  font-size: clamp(30px, 4vw, 46px);
}

.lede {
  font-size: clamp(16px, 1.5vw, 18.5px);
  line-height: 1.68;
  color: var(--ink-2);
  max-width: 54ch;
}

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

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

.eyebrow--light {
  color: var(--gold-soft);
}

.small {
  font-size: 13px;
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

/* ---------- Sections ---------- */

.section {
  padding: 76px 0;
  position: relative;
}

@media (min-width: 960px) {
  .section {
    padding: 110px 0;
  }
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-head .display {
  margin-top: 16px;
}

.section-head .lede {
  margin-top: 18px;
}

.section-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.section--tint {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section--flush {
  padding-top: 0;
}

/* ---------- Buttons ---------- */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-ui);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s ease, border-color 0.25s ease;
  text-align: center;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px -20px rgba(29, 21, 18, 0.55);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
}

.btn .arrow {
  transition: transform 0.35s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 14px 30px -18px rgba(29, 21, 18, 0.7);
}

.btn--accent {
  background: var(--rose);
  color: #fff;
  box-shadow: 0 14px 30px -16px rgba(178, 58, 82, 0.65);
}

.btn--accent:hover {
  background: var(--rose-deep);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.5);
  border-color: var(--ink);
}

.btn--light {
  background: var(--cream);
  color: var(--ink);
}

.btn--sm {
  padding: 11px 18px;
  font-size: 13.5px;
}

.btn--block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.55;
  pointer-events: none;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Chips ---------- */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 247, 0.7);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
}

.chip--dot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rose);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- Launch banner ---------- */

.launch-banner {
  position: relative;
  z-index: 70;
  padding: 9px 16px;
  background: #250d17;
  color: var(--cream);
  text-align: center;
  font-size: 10.5px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.launch-banner .launch-banner__dot {
  color: var(--gold);
  margin-inline-end: 6px;
}

.launch-banner strong {
  color: var(--gold-soft);
  font-weight: 600;
}

@media (max-width: 719px) {
  .launch-banner {
    padding: 8px 14px;
    font-size: 10px;
  }
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(29, 21, 18, 0.4);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 66px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.brand__mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: none;
}

.brand__mark img,
.brand__mark svg {
  width: 36px;
  height: 36px;
  display: block;
}

.brand__copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #2a151b;
}

.brand__name em {
  font-style: normal;
  color: var(--rose);
}

.brand__tagline {
  margin-top: 2px;
  font-family: var(--font-ui);
  font-size: 6.5px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--gold);
}

@media (max-width: 719px) {
  .brand__mark,
  .brand__mark img {
    width: 32px;
    height: 32px;
  }

  .brand__name {
    font-size: 18px;
  }

  .brand__tagline {
    display: none;
  }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
}

.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 9px 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
  flex-shrink: 0;
}

.lang-switch svg {
  width: 13px;
  height: 13px;
  color: var(--muted);
  flex-shrink: 0;
}

.lang-switch select {
  appearance: none;
  -webkit-appearance: none;
  max-width: 88px;
  padding: 0 13px 0 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ink-2);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.lang-switch::after {
  content: "";
  position: absolute;
  right: 9px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-right: 1px solid var(--muted);
  border-bottom: 1px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.lang-switch select:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 4px;
  border-radius: 999px;
}

@media (max-width: 719px) {
  .lang-switch {
    height: 34px;
    padding: 0 8px 0 9px;
    gap: 4px;
  }

  .lang-switch select {
    max-width: 76px;
    font-size: 10.5px;
  }

  .lang-switch::after {
    right: 7px;
  }
}

@media (max-width: 359px) {
  .container { padding: 0 14px; }
  .nav { gap: 12px; }
  .brand { gap: 6px; }
  .brand__name { font-size: 17px; }
  .lang-switch { padding: 0 20px 0 10px; }
  .lang-switch svg { display: none; }
  .lang-switch select { max-width: 62px; }
  .menu-btn { width: 38px; height: 38px; }
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: background 0.2s ease;
}

.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), top 0.25s var(--ease);
}

.menu-open .menu-btn span {
  background: transparent;
}

.menu-open .menu-btn span::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-open .menu-btn span::after {
  top: 0;
  transform: rotate(-45deg);
}

.menu-btn span::before {
  top: -5px;
}

.menu-btn span::after {
  top: 5px;
}

@media (min-width: 920px) {
  .nav-links {
    display: flex;
  }

  .menu-btn {
    display: none;
  }
}

@media (max-width: 719px) {
  .nav-actions > .btn:not(.btn--sm) {
    display: none;
  }
}

.nav .btn {
  padding: 11px 18px;
  font-size: 13.5px;
}

.mobile-menu {
  position: fixed;
  inset: 70px 0 0;
  z-index: 55;
  background: var(--paper);
  padding: 32px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s var(--ease), visibility 0.3s;
}

.menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: -0.02em;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.mobile-menu .btn {
  margin-top: 24px;
  font-family: var(--font-ui);
  font-size: 15px;
  border-bottom: 0;
  padding: 16px 24px;
}

@media (min-width: 920px) {
  .mobile-menu {
    display: none;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 52px 0 36px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -240px;
  right: -160px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 227, 229, 0.9) 0%, rgba(250, 244, 236, 0) 68%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -260px;
  left: -200px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 229, 210, 0.8) 0%, rgba(250, 244, 236, 0) 70%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 44px;
  align-items: center;
}

.hero__copy {
  max-width: 600px;
}

.hero h1 {
  margin-top: 20px;
  font-size: clamp(44px, 8.6vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.038em;
  font-weight: 500;
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--rose);
  position: relative;
  white-space: nowrap;
}

html[lang="ta"] .hero h1 {
  font-size: clamp(38px, 6.3vw, 68px);
  letter-spacing: -0.02em;
}

html[lang="pa"] .hero h1 {
  font-size: clamp(40px, 7vw, 74px);
}

html[lang="hi"] .hero h1 em,
html[lang="mr"] .hero h1 em,
html[lang="ta"] .hero h1 em,
html[lang="pa"] .hero h1 em {
  white-space: normal;
}

html[lang="ta"] .personalise .display {
  font-size: clamp(30px, 4.2vw, 48px);
}

html[lang="bn"] .hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.25;
}

html[lang="bn"] .display {
  line-height: 1.3;
}

html[lang="ur"] .hero h1 {
  font-size: clamp(32px, 4.8vw, 56px);
  line-height: 1.65;
  letter-spacing: 0;
}

html[lang="ur"] .display {
  line-height: 1.5;
  letter-spacing: 0;
}

html[lang="ur"] .display em,
html[lang="ur"] .hero h1 em {
  font-style: normal;
}

html[lang="ur"] .personalise .display {
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.7;
}

/* RTL layout adjustments (Urdu first; Sindhi/Kashmiri reuse them). */
html[dir="rtl"] .arrow,
html[dir="rtl"] .hero__demo > span:last-child,
html[dir="rtl"] .mini-cover__cta > span[aria-hidden] {
  display: inline-block;
  transform: scaleX(-1);
}

html[dir="rtl"] .btn:hover .arrow {
  transform: scaleX(-1) translateX(3px);
}

html[dir="rtl"] .float-card--price {
  left: auto;
  right: -6px;
}

html[dir="rtl"] .float-card--live {
  right: auto;
  left: -10px;
}

html[dir="rtl"] .hero__sticker {
  right: auto;
  left: 16px;
}

html[lang="ur"] .hero__sticker {
  display: none;
}

html[dir="rtl"] .lang-switch {
  padding: 0 10px 0 9px;
}

html[dir="rtl"] .lang-switch select {
  padding: 0 0 0 13px;
}

html[dir="rtl"] .lang-switch::after {
  right: auto;
  left: 9px;
}

@media (max-width: 1023px) {
  html[dir="rtl"] .float-card--price {
    right: -14px;
    left: auto;
  }

  html[dir="rtl"] .float-card--live {
    left: -12px;
    right: auto;
  }
}

.hero h1 em::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 0;
  bottom: 0.04em;
  height: 0.08em;
  border-radius: 99px;
  background: var(--gold);
  opacity: 0.45;
}

.hero .lede {
  margin-top: 22px;
  max-width: 47ch;
}

.hero__cta {
  margin-top: 30px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 24px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
}

.hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero__trust span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.hero__demo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease;
}

.hero__demo:hover {
  color: var(--rose);
}

.hero__demo-play {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--ink);
  color: var(--cream);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease), background 0.2s;
}

.hero__demo:hover .hero__demo-play {
  transform: scale(1.08);
  background: var(--rose);
}

.hero__demo-play svg {
  width: 9px;
  height: 9px;
  margin-left: 1px;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 12px 0;
}

.phone {
  position: relative;
  width: 292px;
  aspect-ratio: 585 / 1082;
  border-radius: 46px;
  padding: 9px;
  background: #17100e;
  box-shadow: 0 40px 90px -40px rgba(29, 21, 18, 0.65), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
  flex-shrink: 0;
}

.phone::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 22px;
  border-radius: 999px;
  background: #17100e;
  z-index: 4;
}

.phone__screen {
  width: 100%;
  height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background: #fbf5ec;
  position: relative;
}

.phone iframe {
  width: 390px;
  height: 844px;
  border: 0;
  transform-origin: top left;
  pointer-events: none;
  display: block;
}

.phone__shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 38px;
  display: block;
}

.phone__glow {
  position: absolute;
  inset: auto -40px -60px;
  height: 200px;
  background: radial-gradient(circle at 50% 100%, rgba(178, 58, 82, 0.4), transparent 70%);
  filter: blur(30px);
  z-index: -1;
}

@media (min-width: 960px) {
  .hero {
    padding: 84px 0 60px;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 40px;
  }

  .hero__visual {
    justify-content: flex-end;
    padding-right: 28px;
  }

  .phone {
    width: 312px;
  }
}

.float-card {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border-radius: 14px;
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  animation: floaty 7s ease-in-out infinite;
}

.float-card small {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.float-card--price {
  top: 74px;
  left: -6px;
}

.float-card--live {
  bottom: 110px;
  right: -10px;
  animation-delay: -3.2s;
}

.float-card__dot {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--green-soft);
  color: var(--green);
}

.float-card__dot svg {
  width: 15px;
  height: 15px;
}

.hero__sticker {
  position: absolute;
  z-index: 5;
  top: 22px;
  right: 16px;
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--ink);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  line-height: 1.15;
  text-align: center;
  transform: rotate(9deg);
  border: 1px solid rgba(190, 146, 87, 0.35);
  animation: floaty 8s ease-in-out infinite;
  animation-delay: -1.5s;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-9px) rotate(-1deg);
  }
}

@media (max-width: 420px) {
  .float-card--price {
    left: -14px;
    top: 56px;
  }

  .float-card--live {
    right: -12px;
    bottom: 88px;
  }

  .hero__sticker {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .float-card,
  .hero__sticker,
  .marquee__track {
    animation: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ---------- Marquee ---------- */

.occasion-strip {
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
  overflow: hidden;
}

.marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0;
  animation: marquee 34s linear infinite;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 22px);
  font-style: italic;
  color: var(--ink-2);
  white-space: nowrap;
}

.marquee__item::after {
  content: "✦";
  font-style: normal;
  font-size: 12px;
  color: var(--rose);
}

@keyframes marquee {
  to {
    transform: translateX(-100%);
  }
}

/* ---------- Live personalisation ---------- */

.personalise {
  position: relative;
  overflow: hidden;
  padding: 78px 0;
  background:
    radial-gradient(ellipse at 84% 4%, rgba(178, 58, 82, 0.32), transparent 52%),
    radial-gradient(ellipse at 4% 100%, rgba(190, 146, 87, 0.12), transparent 55%),
    #250d17;
  color: var(--cream);
}

.personalise__grid {
  display: grid;
  gap: 44px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.personalise .display {
  margin-top: 16px;
  color: var(--cream);
  font-size: clamp(38px, 5vw, 58px);
}

.personalise .display em {
  color: var(--gold-soft);
}

.personalise .lede {
  margin-top: 18px;
  max-width: 43ch;
  color: rgba(255, 252, 247, 0.68);
}

.name-fields {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-top: 30px;
  max-width: 460px;
}

.name-field {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.name-field span {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 252, 247, 0.45);
}

.name-field input {
  width: 100%;
  padding: 0 0 8px;
  border: 0;
  border-bottom: 1px solid rgba(255, 252, 247, 0.24);
  border-radius: 0;
  background: transparent;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: clamp(22px, 3.2vw, 30px);
  letter-spacing: -0.02em;
  outline: none;
  transition: border-color 0.25s ease;
}

.name-field input::placeholder {
  color: rgba(255, 252, 247, 0.32);
}

.name-field input:focus {
  border-color: var(--gold);
}

.name-field__amp {
  padding-bottom: 10px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  color: var(--gold);
}

.personalise .btn-row {
  margin-top: 30px;
}

.btn--outline-light {
  background: transparent;
  border-color: rgba(255, 252, 247, 0.3);
  color: var(--cream);
}

.btn--outline-light:hover {
  background: rgba(255, 252, 247, 0.07);
  border-color: rgba(255, 252, 247, 0.62);
}

.personalise__note {
  margin-top: 18px;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: rgba(255, 252, 247, 0.38);
}

.personalise__note span {
  color: rgba(255, 252, 247, 0.65);
}

.personalise__visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.mini-cover {
  position: relative;
  width: min(84vw, 334px);
  padding: 30px 22px 22px;
  border: 1px solid rgba(200, 160, 91, 0.34);
  border-radius: 22px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(156, 47, 67, 0.5), transparent 55%),
    #2a0c16;
  box-shadow: 0 50px 100px -45px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  transform: rotate(-1.4deg);
  transition: transform 0.5s var(--ease);
}

.mini-cover:hover {
  transform: rotate(0) translateY(-4px);
}

.mini-cover::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(200, 160, 91, 0.18);
  border-radius: 14px;
  pointer-events: none;
}

.mini-cover__floral {
  position: absolute;
  width: 100px;
  color: var(--gold);
  opacity: 0.32;
  pointer-events: none;
}

.mini-cover__floral--tl {
  top: -6px;
  left: -8px;
}

.mini-cover__floral--br {
  bottom: -8px;
  right: -8px;
  transform: rotate(180deg);
}

.mini-cover__badge {
  position: absolute;
  z-index: 4;
  top: 14px;
  right: 14px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mini-cover__eyebrow {
  position: relative;
  margin-top: 8px;
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 252, 247, 0.55);
}

.mini-cover__name {
  position: relative;
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--cream);
}

.mini-cover__name em {
  font-style: italic;
  color: var(--gold-soft);
}

.mini-envelope {
  position: relative;
  width: 100%;
  aspect-ratio: 1.52;
  margin: 32px auto 18px;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.4));
}

.mini-envelope__letter {
  position: absolute;
  left: 8%;
  right: 8%;
  top: -13%;
  height: 90%;
  z-index: 2;
  padding: 11px 12px;
  border-radius: 3px;
  background: linear-gradient(#fffdf7, #f8edda);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
  text-align: left;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 12px;
  color: var(--rose);
}

.mini-envelope__letter i {
  display: block;
  height: 1px;
  margin-top: 8px;
  background: rgba(43, 20, 27, 0.13);
}

.mini-envelope__pocket {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: 5px;
  background: linear-gradient(160deg, #f0e2ca, #ddc8a8);
  clip-path: polygon(0 0, 50% 43%, 100% 0, 100% 100%, 0 100%);
}

.mini-envelope__flap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 63%;
  z-index: 4;
  background: linear-gradient(180deg, #fdf4e4, #eedcbe);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.mini-envelope__seal {
  position: absolute;
  top: 55%;
  left: 50%;
  z-index: 5;
  width: 48px;
  height: 48px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(200, 160, 91, 0.8);
  background: radial-gradient(circle at 35% 30%, #7e2238, #9c2f43 40%, #4a1020 72%);
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.42), inset 0 1px 5px rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--gold-soft);
}

.mini-cover__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid rgba(200, 160, 91, 0.45);
  border-radius: 999px;
  color: var(--gold-soft);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.mini-cover__date {
  display: block;
  margin-top: 12px;
  font-size: 7px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 252, 247, 0.32);
}

@media (min-width: 900px) {
  .personalise {
    padding: 100px 0;
  }

  .personalise__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 64px;
  }

  .mini-cover {
    width: 352px;
  }
}

/* ---------- Custom requests ---------- */

.custom-request {
  padding: 72px 0;
}

.custom-request__panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: 34px 22px;
  display: grid;
  gap: 38px;
  align-items: center;
  color: var(--cream);
  background:
    radial-gradient(ellipse at 84% 0%, rgba(178, 58, 82, 0.36), transparent 52%),
    radial-gradient(ellipse at 6% 100%, rgba(190, 146, 87, 0.14), transparent 55%),
    #250d17;
  box-shadow: var(--shadow-lg);
}

.custom-request__panel::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(200, 160, 91, 0.18);
  border-radius: calc(var(--r-xl) - 10px);
  pointer-events: none;
}

.custom-request__copy {
  position: relative;
  z-index: 1;
}

.custom-request h2 {
  margin-top: 14px;
  color: var(--cream);
  font-size: clamp(32px, 4.6vw, 52px);
}

.custom-request h2 em {
  color: var(--gold-soft);
  font-style: italic;
}

.custom-request__lede {
  margin-top: 16px;
  max-width: 46ch;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255, 252, 247, 0.68);
}

.custom-request__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 20px 0 0;
  padding: 0;
}

.custom-request__list li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 252, 247, 0.78);
}

.custom-request__list li::before {
  content: "✦";
  font-size: 8px;
  color: var(--gold);
}

.custom-request__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.custom-request__note {
  margin-top: 16px;
  font-size: 10.5px;
  line-height: 1.6;
  color: rgba(255, 252, 247, 0.55);
}

.custom-request__note a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.custom-request__letter {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 356px;
  justify-self: center;
  padding: 32px 26px 64px;
  border-radius: 8px;
  background: linear-gradient(160deg, #fffdf7, #f7ead5);
  color: var(--ink);
  transform: rotate(-1.4deg);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.65);
}

.custom-request__letter::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 160, 91, 0.7), transparent);
}

.custom-request__letterhead {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose);
}

.custom-request__hand {
  margin-top: 22px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.custom-request__sign {
  margin-top: 18px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--rose);
}

.custom-request__seal {
  position: absolute;
  right: 22px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  color: var(--gold-soft);
  background: radial-gradient(circle at 35% 30%, #7e2238, #9c2f43 40%, #4a1020 72%);
  border: 1px solid rgba(200, 160, 91, 0.8);
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.35);
}

.footer__email {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

.footer__email a {
  color: var(--rose);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (min-width: 900px) {
  .custom-request {
    padding: 100px 0;
  }

  .custom-request__panel {
    padding: 54px 56px;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 56px;
  }

  .custom-request__letter {
    max-width: 360px;
  }
}

/* ---------- Leave a note ---------- */

.note-section {
  padding: 72px 0;
  scroll-margin-top: 96px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(190, 146, 87, 0.08), transparent 62%),
    var(--paper);
}

.note-panel {
  position: relative;
  display: grid;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.note-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 24px;
  color: var(--cream);
  background:
    radial-gradient(ellipse at 84% 0%, rgba(178, 58, 82, 0.36), transparent 52%),
    radial-gradient(ellipse at 6% 100%, rgba(190, 146, 87, 0.14), transparent 55%),
    #250d17;
}

.note-copy::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(200, 160, 91, 0.18);
  border-radius: calc(var(--r-xl) - 10px);
  pointer-events: none;
}

.note-copy .eyebrow {
  position: relative;
  z-index: 1;
}

.note-copy h2 {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  color: var(--cream);
  font-size: clamp(32px, 4.6vw, 52px);
}

.note-copy h2 em {
  color: var(--gold-soft);
  font-style: italic;
}

.note-copy__lede {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  max-width: 44ch;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255, 252, 247, 0.68);
}

.note-copy__chips {
  position: relative;
  z-index: 1;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
}

.note-copy__chips li {
  border: 1px solid rgba(200, 160, 91, 0.28);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 252, 247, 0.72);
}

.note-copy__alt {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  font-size: 11px;
  color: rgba(255, 252, 247, 0.5);
}

.note-copy__alt a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.note-card {
  position: relative;
  padding: 30px 22px 28px;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.45), transparent 28%),
    linear-gradient(160deg, #fffdf7, #f7ead5);
}

.note-card::before {
  content: "";
  position: absolute;
  top: 13px;
  inset-inline: 16px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 160, 91, 0.7), transparent);
}

.note-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.note-card__dear {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.note-card__stamp {
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px dashed rgba(178, 58, 82, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  transform: rotate(7deg);
  color: rgba(178, 58, 82, 0.78);
  font-size: 6.5px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
}

.note-card__stamp b {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
}

.note-card__stamp small {
  font-size: 5.5px;
  letter-spacing: 0.2em;
}

.note-form {
  display: grid;
  gap: 16px;
}

.note-form__row {
  display: grid;
  gap: 16px;
}

.note-field {
  display: grid;
  gap: 5px;
}

.note-field label {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.note-field label span {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #a08f83;
}

.note-field input,
.note-field select,
.note-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 7px 0 8px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.5;
  box-shadow: none;
  transition: border-color 0.2s, background 0.2s;
  scroll-margin-top: 96px;
  -webkit-appearance: none;
  appearance: none;
}

.note-field select {
  padding-inline-end: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%237d6f66' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  background-size: 10px;
}

.note-field textarea {
  min-height: 112px;
  padding-top: 0;
  line-height: 28px;
  resize: vertical;
  background-image: repeating-linear-gradient(transparent 0 27px, rgba(29, 21, 18, 0.08) 27px 28px);
  background-attachment: local;
}

.note-field input::placeholder,
.note-field textarea::placeholder {
  color: #b0a49b;
}

.note-field input:focus,
.note-field select:focus,
.note-field textarea:focus {
  outline: none;
  border-bottom-color: var(--rose);
  box-shadow: 0 1px 0 var(--rose);
}

.note-field.is-invalid input,
.note-field.is-invalid select,
.note-field.is-invalid textarea {
  border-bottom-color: #b23a52;
  box-shadow: 0 1px 0 #b23a52;
}

.note-field__error {
  display: none;
  margin: 0;
  font-size: 10px;
  line-height: 1.4;
  color: #a52a2a;
}

.note-field.is-invalid .note-field__error {
  display: block;
}

.note-field__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  min-height: 14px;
}

.note-field__meta [data-note-count] {
  flex: none;
  font-size: 9px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  unicode-bidi: isolate;
}

.note-form__checks {
  display: grid;
  gap: 9px;
  margin-top: 2px;
}

.note-form__checks.is-invalid [data-error="consent"] {
  display: block;
}

.note-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 10.5px;
  line-height: 1.55;
  color: var(--muted);
  cursor: pointer;
}

.note-check input {
  flex: none;
  width: 15px;
  height: 15px;
  margin: 2px 0 0;
  accent-color: var(--rose);
}

.note-check a {
  color: var(--rose);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.note-check em {
  font-style: normal;
  color: #9a8b80;
}

.note-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.note-form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  margin-top: 4px;
}

.note-submit {
  flex: none;
}

.note-form__meta {
  max-width: 210px;
  margin: 0;
  font-size: 9.5px;
  line-height: 1.5;
  color: var(--muted);
}

.note-status {
  display: none;
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
  color: var(--rose-deep);
}

.note-status:not(:empty) {
  display: block;
}

.note-noscript {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
}

.note-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 34px 6px 22px;
  text-align: center;
}

.note-success__seal {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 4px;
  font-size: 20px;
  color: var(--gold-soft);
  background: radial-gradient(circle at 35% 30%, #7e2238, #9c2f43 40%, #4a1020 72%);
  border: 1px solid rgba(200, 160, 91, 0.8);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.25);
  animation: note-seal 0.55s var(--ease) both;
}

@keyframes note-seal {
  from {
    transform: scale(0.6) rotate(-12deg);
    opacity: 0;
  }
  to {
    transform: scale(1) rotate(0);
    opacity: 1;
  }
}

.note-success h3 {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 30px;
  color: var(--ink);
}

.note-success p {
  max-width: 36ch;
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

.note-success__preview {
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--gold-soft);
  color: #7c5b2e !important;
  font-size: 10px !important;
}

.note-success .btn {
  margin-top: 8px;
}

[dir="rtl"] .note-card__stamp {
  transform: rotate(-7deg);
}

[dir="rtl"] .note-copy h2,
[dir="rtl"] .note-card__dear,
[dir="rtl"] .note-success h3,
[dir="rtl"] .note-success p {
  unicode-bidi: plaintext;
}

[dir="rtl"] .note-field select {
  padding-inline: 0 22px;
  background-position: left 2px center;
}

@media (min-width: 560px) {
  .note-form__row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .note-section {
    padding: 100px 0;
  }

  .note-panel {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  }

  .note-copy {
    padding: 54px 48px;
  }

  .note-card {
    padding: 44px 46px 40px;
  }

  .note-card__dear {
    font-size: 26px;
  }

  .note-form {
    gap: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .note-success__seal {
    animation: none;
  }
}

/* ---------- Templates grid ---------- */

.tpl-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 720px) {
  .tpl-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1080px) {
  .tpl-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tpl-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}

.tpl-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.tpl-frame {
  position: relative;
  overflow: hidden;
  padding: 34px 20px 0;
  display: flex;
  justify-content: center;
  background:
    radial-gradient(ellipse at 50% 18%, var(--stage, rgba(178, 58, 82, 0.18)), transparent 70%),
    var(--paper-2);
  border-bottom: 1px solid var(--line);
}

.tpl-device {
  position: relative;
  display: block;
  width: min(64%, 268px);
  aspect-ratio: 585 / 1082;
  padding: 0;
  border: 6px solid #17100e;
  border-radius: 30px;
  background: #17100e;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 34px 50px -30px rgba(29, 21, 18, 0.65), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.tpl-device:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: 0 46px 62px -32px rgba(29, 21, 18, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.tpl-device:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 4px;
}

.tpl-device img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  display: block;
}

.tpl-device::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.tpl-frame__tag {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.tpl-frame__special {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tpl-card--signature {
  border-color: rgba(190, 146, 87, 0.45);
}

.tpl-card--signature:hover {
  border-color: var(--gold);
}

.tpl-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px;
}

.tpl-actions {
  width: 100%;
}

.tpl-actions .tpl-link {
  flex: 1;
  justify-content: center;
}

.tpl-body h3 {
  font-size: 22px;
  letter-spacing: -0.02em;
}

.tpl-body p {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 3px;
}

.tpl-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.tpl-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
}

.tpl-link:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.tpl-link--solid {
  background: var(--rose);
  border-color: var(--rose);
  color: #fff;
}

.tpl-link--solid:hover {
  background: var(--rose-deep);
  border-color: var(--rose-deep);
  color: #fff;
}

@media (max-width: 560px) {
  .tpl-frame {
    padding: 26px 16px 0;
  }

  .tpl-device {
    width: min(72%, 248px);
  }
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.step__num {
  font-family: var(--font-display);
  font-size: 30px;
  font-style: italic;
  color: var(--rose);
  line-height: 1;
  padding-top: 3px;
}

.step h3 {
  font-size: 21px;
  margin-bottom: 6px;
}

.step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 48ch;
}

@media (min-width: 880px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    border-top: 0;
  }

  .step {
    display: block;
    padding: 0 26px 0 0;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .step:last-child {
    border-right: 0;
  }

  .step__num {
    display: block;
    margin-bottom: 18px;
    font-size: 36px;
  }

  .step {
    padding-left: 26px;
  }

  .step:first-child {
    padding-left: 0;
  }
}

.steps-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-size: 13px;
  color: var(--muted);
}

.steps-note svg {
  width: 16px;
  height: 16px;
  color: var(--green);
  flex-shrink: 0;
}

/* ---------- Pricing ---------- */

.price-grid {
  display: grid;
  gap: 18px;
  max-width: 1100px;
}

@media (min-width: 720px) {
  .price-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.price-card--featured .price-card__badge {
  background: var(--gold);
  color: var(--ink);
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px;
  overflow: hidden;
}

.price-card--featured {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  box-shadow: var(--shadow-lg);
}

.price-card--featured::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(178, 58, 82, 0.55), transparent 70%);
  pointer-events: none;
}

.price-card__badge {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--rose);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.price-card__name {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.price-card--featured .price-card__name {
  color: var(--gold-soft);
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 54px;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-amount small {
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}

.price-perday {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 999px;
  padding: 3px 8px;
  width: fit-content;
}

.price-card--featured .price-perday {
  color: var(--gold-soft);
  background: rgba(255, 252, 247, 0.1);
}

.price-card--featured .price-amount small {
  color: rgba(255, 252, 247, 0.6);
}

.price-card__blurb {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  min-height: 44px;
}

.price-card--featured .price-card__blurb {
  color: rgba(255, 252, 247, 0.72);
}

.price-list {
  list-style: none;
  margin: 24px 0 28px;
  padding: 0;
  display: grid;
  gap: 12px;
  flex: 1;
}

.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-2);
}

.price-card--featured .price-list li {
  color: rgba(255, 252, 247, 0.88);
}

.price-list svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--green);
}

.price-card--featured .price-list svg {
  color: var(--gold);
}

.domain-note {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.domain-note .chip {
  background: var(--cream);
}

.price-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
}

.price-foot p {
  font-size: 12.5px;
  color: var(--muted);
  max-width: 56ch;
}

.domain-table {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 18px;
  width: 100%;
}

@media (min-width: 620px) {
  .domain-table {
    grid-template-columns: repeat(4, 1fr);
  }
}

.domain-chip {
  border: 1px solid var(--line);
  background: rgba(255, 252, 247, 0.65);
  border-radius: 14px;
  padding: 12px 14px;
}

.domain-chip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.02em;
}

.domain-chip span {
  font-size: 11.5px;
  color: var(--muted);
}

/* ---------- Editor showcase ---------- */

.showcase {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--r-xl);
  padding: 40px 24px;
  overflow: hidden;
}

.showcase::before {
  content: "";
  position: absolute;
  top: -180px;
  left: -120px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(178, 58, 82, 0.38), transparent 68%);
}

.showcase__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
  align-items: center;
}

.showcase h2 {
  margin-top: 16px;
  font-size: clamp(30px, 4vw, 46px);
}

.showcase p {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 252, 247, 0.72);
  max-width: 46ch;
}

.showcase__list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 14px;
}

.showcase__list li {
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 252, 247, 0.86);
}

.showcase__list svg {
  width: 17px;
  height: 17px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.showcase .btn {
  margin-top: 30px;
}

.editor-mock {
  position: relative;
  border-radius: 18px;
  background: #261c18;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 50px 80px -40px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  font-size: 11px;
}

.editor-mock__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #221814;
}

.editor-mock__bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.editor-mock__bar span {
  margin-left: 8px;
  font-size: 10px;
  color: rgba(255, 252, 247, 0.4);
  letter-spacing: 0.04em;
}

.editor-mock__body {
  display: grid;
  grid-template-columns: 78px 1fr;
  min-height: 340px;
}

.editor-mock__side {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.editor-mock__side i {
  height: 7px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
}

.editor-mock__side i:nth-child(1) {
  width: 70%;
  background: rgba(255, 255, 255, 0.3);
}

.editor-mock__side i:nth-child(3) {
  width: 55%;
}

.editor-mock__side i:nth-child(5) {
  width: 80%;
}

.editor-mock__canvas {
  padding: 16px;
  display: flex;
  justify-content: center;
  background:
    radial-gradient(circle at 70% 20%, rgba(178, 58, 82, 0.16), transparent 55%),
    #1b1310;
}

.editor-mock__phone {
  width: 190px;
  border-radius: 16px;
  background: #fbf5ec;
  color: #2a1418;
  padding: 18px 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.7);
}

.editor-mock__phone small {
  display: block;
  font-family: var(--font-ui);
  font-size: 6.5px;
  letter-spacing: 0.16em;
  color: #a62b43;
  font-weight: 700;
}

.editor-mock__phone h4 {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1;
  margin-top: 10px;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.editor-mock__phone h4 em {
  display: block;
  font-style: italic;
  color: #a62b43;
  font-weight: 400;
}

.editor-mock__phone p {
  font-size: 7px;
  line-height: 1.6;
  color: #6b5350;
  margin-top: 10px;
}

.editor-mock__photo {
  margin-top: 14px;
  height: 92px;
  border-radius: 80px 80px 8px 8px;
  background: linear-gradient(160deg, #ddb8a8, #a4565c 55%, #4a1e2c);
}

.editor-mock__pill {
  display: inline-block;
  margin-top: 10px;
  height: 12px;
  width: 58px;
  border-radius: 99px;
  background: #2a1418;
}

.editor-mock__swatches {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  gap: 6px;
  background: rgba(255, 252, 247, 0.94);
  padding: 8px;
  border-radius: 999px;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5);
}

.editor-mock__swatches i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.editor-mock__swatches i:nth-child(1) {
  background: #a62b43;
}

.editor-mock__swatches i:nth-child(2) {
  background: #ff5a36;
}

.editor-mock__swatches i:nth-child(3) {
  background: #a78bfa;
}

.editor-mock__swatches i:nth-child(4) {
  background: #5f6f4e;
}

@media (min-width: 900px) {
  .showcase {
    padding: 56px;
  }

  .showcase__grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
  }

  .editor-mock__body {
    min-height: 400px;
  }

  .editor-mock__phone {
    width: 210px;
  }
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 820px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  width: 11px;
  height: 11px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg) translateY(-2px);
}

.faq-item p {
  padding: 0 0 24px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 66ch;
}

.faq-item a {
  color: var(--rose);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- CTA band ---------- */

.cta-wrap {
  padding: 24px 0 76px;
}

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--ink);
  color: var(--cream);
  padding: 56px 24px;
  text-align: center;
}

.cta-band::before {
  content: "";
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 620px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(178, 58, 82, 0.5), transparent 68%);
}

.cta-band h2 {
  position: relative;
  font-size: clamp(32px, 5vw, 54px);
  letter-spacing: -0.035em;
}

.cta-band h2 em {
  font-style: italic;
  color: var(--gold);
}

.cta-band p {
  position: relative;
  margin: 16px auto 28px;
  max-width: 46ch;
  font-size: 15px;
  color: rgba(255, 252, 247, 0.72);
}

.cta-band .btn {
  position: relative;
}

.cta-band__note {
  position: relative;
  margin-top: 16px;
  font-size: 11.5px;
  color: rgba(255, 252, 247, 0.45);
}

.cta-band__note a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cta-band__note + .cta-band__note {
  margin-top: 6px;
}

@media (min-width: 820px) {
  .cta-band {
    padding: 76px 48px;
  }
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
  background: var(--paper);
}

.footer__grid {
  display: grid;
  gap: 36px;
}

.footer__brand p {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
  max-width: 32ch;
  line-height: 1.65;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

@media (min-width: 720px) {
  .footer__grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
  }

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

.footer h4 {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}

.footer ul a {
  font-size: 13.5px;
  color: var(--muted);
  transition: color 0.2s;
}

.footer ul a:hover {
  color: var(--rose);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted);
}

.footer__bottom span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer__heart {
  color: var(--rose);
}

/* ---------- Modal ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(24, 16, 14, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__card {
  width: min(430px, 100%);
  height: min(86vh, 860px);
  background: var(--paper);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  transform: translateY(14px) scale(0.985);
  transition: transform 0.4s var(--ease);
}

.modal.is-open .modal__card {
  transform: none;
}

.modal__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
  flex-shrink: 0;
}

.modal__bar h3 {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
}

.modal__close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
  color: var(--ink);
}

.modal__frame {
  flex: 1;
  width: 100%;
  border: 0;
  background: #fff;
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 20px);
  z-index: 200;
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.35s var(--ease);
  max-width: calc(100vw - 40px);
  text-align: center;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.8s var(--ease);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

.js .reveal[data-delay="1"] {
  transition-delay: 0.08s;
}

.js .reveal[data-delay="2"] {
  transition-delay: 0.16s;
}

.js .reveal[data-delay="3"] {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Inner page hero ---------- */

.page-hero {
  padding: 52px 0 36px;
  position: relative;
}

.page-hero h1 {
  margin-top: 16px;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1;
  letter-spacing: -0.038em;
}

.page-hero h1 em {
  font-style: italic;
  color: var(--rose);
}

.page-hero .lede {
  margin-top: 18px;
}

@media (min-width: 900px) {
  .page-hero {
    padding: 72px 0 48px;
  }
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0 34px;
}

.filter {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter:hover {
  border-color: var(--ink);
}

.filter.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.tpl-card[hidden] {
  display: none;
}

/* ---------- Legal ---------- */

.legal {
  padding: 56px 0 90px;
}

.legal__head {
  max-width: 720px;
  margin-bottom: 44px;
}

.legal h1 {
  font-size: clamp(36px, 5vw, 56px);
  margin-top: 14px;
}

.legal article {
  max-width: 760px;
}

.legal h2 {
  font-size: 27px;
  margin: 42px 0 14px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.legal h2:first-of-type {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

.legal p,
.legal li {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-2);
}

.legal p + p {
  margin-top: 12px;
}

.legal ul {
  margin: 12px 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.legal .note {
  background: var(--gold-soft);
  border: 1px solid rgba(190, 146, 87, 0.35);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 22px;
}

/* ---------- Checkout ---------- */

.checkout-page {
  padding: 40px 0 80px;
}

.checkout-head {
  margin-bottom: 30px;
}

.checkout-head h1 {
  font-size: clamp(32px, 5vw, 48px);
  margin-top: 12px;
}

.checkout-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.checkout-steps span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.checkout-steps span + span::before {
  content: "—";
  color: var(--line-strong);
  margin-right: 2px;
}

.checkout-steps b {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--green);
  font-size: 8px;
  font-weight: 700;
}

.checkout-steps .is-current b {
  background: var(--rose-soft);
  color: var(--rose);
}

.checkout-head h1 em {
  color: var(--rose);
  font-style: italic;
}

.free-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border-radius: 12px;
  background: var(--paper);
  border: 1px dashed var(--line-strong);
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}

.free-link strong {
  color: var(--ink);
  font-weight: 600;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--muted);
  cursor: pointer;
}

.check-row input {
  width: 15px;
  height: 15px;
  margin-top: 1px;
  accent-color: var(--rose);
  flex-shrink: 0;
}

.check-row a {
  color: var(--rose);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.check-row.has-error {
  color: #a52a2a;
}

.co-card h2 .optional {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.checkout-grid {
  display: grid;
  gap: 24px;
  align-items: start;
}

@media (min-width: 960px) {
  .checkout-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 32px;
  }
}

.co-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  margin-bottom: 18px;
}

.co-card h2 {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.plan-options {
  display: grid;
  gap: 10px;
}

.plan-option {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  background: var(--paper);
}

.plan-option:hover {
  border-color: var(--ink-2);
}

.plan-option.is-selected {
  border-color: var(--rose);
  background: #fff;
  box-shadow: 0 0 0 1px var(--rose);
}

.plan-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.plan-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  flex-shrink: 0;
  margin-top: 2px;
  display: grid;
  place-items: center;
  background: #fff;
}

.plan-option.is-selected .plan-radio {
  border-color: var(--rose);
}

.plan-option.is-selected .plan-radio::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rose);
}

.plan-option__main {
  flex: 1;
}

.plan-option__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.plan-option__top strong {
  font-size: 15px;
  font-weight: 700;
}

.plan-option__pricewrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  flex-shrink: 0;
}

.plan-option__price {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.plan-option__perday {
  font-family: var(--font-ui);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
  white-space: nowrap;
}

.plan-option p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.5;
}

.plan-option__badge {
  display: inline-block;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose);
  background: var(--rose-soft);
  border-radius: 999px;
  padding: 2px 7px;
  margin-left: 7px;
  vertical-align: 2px;
}

.field-grid {
  display: grid;
  gap: 14px;
}

@media (min-width: 560px) {
  .field-grid--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
}

.field label span {
  color: var(--muted);
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-ui);
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 13px 14px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.field textarea {
  min-height: 88px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--rose);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(178, 58, 82, 0.12);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #b0a49b;
}

.field.has-error input,
.field.has-error select {
  border-color: #c0392b;
}

.field__hint {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.5;
}

.field__error {
  display: none;
  font-size: 10.5px;
  color: #a52a2a;
  line-height: 1.4;
}

.field.has-error .field__error {
  display: block;
}

.field.has-error input,
.field.has-error select {
  border-color: #b23a52;
  background: #fff8f8;
}

.domain-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 5px;
  margin-bottom: 16px;
}

.domain-switch button {
  border: 0;
  background: transparent;
  padding: 10px 8px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.domain-switch button.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.domain-switch button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.domain-builder {
  display: grid;
  gap: 10px;
}

.domain-input {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper);
}

.domain-input.has-error {
  border-color: #b23a52;
  background: #fff8f8;
}

.domain-input input {
  border: 0;
  background: transparent;
  box-shadow: none !important;
  border-radius: 0;
}

.domain-input select {
  width: 108px;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper-2);
  font-weight: 600;
  color: var(--ink);
  font-size: 13.5px;
  padding: 0 10px;
}

.domain-price-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: var(--muted);
}

.domain-price-line strong {
  color: var(--ink);
}

.payment-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 16px;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  background: var(--paper);
  font-size: 13px;
  color: var(--ink-2);
}

.pay-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pay-badge {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 5px 9px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-2);
}

.demo-note {
  margin-top: 12px;
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--gold-soft);
  border: 1px solid rgba(190, 146, 87, 0.35);
  font-size: 11.5px;
  line-height: 1.55;
  color: #6f5324;
}

.demo-note svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

.summary-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
}

@media (min-width: 960px) {
  .summary-card {
    position: sticky;
    top: 94px;
  }
}

.summary-card h2 {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.summary-preview {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.summary-preview__frame {
  width: 66px;
  height: 88px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-2);
  flex-shrink: 0;
  position: relative;
}

.summary-preview__frame iframe {
  width: 390px;
  height: 844px;
  border: 0;
  transform: scale(0.169);
  transform-origin: top left;
  pointer-events: none;
}

.summary-preview__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.summary-preview__meta strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.summary-preview__meta span {
  font-size: 11.5px;
  color: var(--muted);
}

.summary-preview__meta a {
  display: inline-block;
  margin-top: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--rose);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.summary-rows {
  padding: 14px 0;
  display: grid;
  gap: 10px;
}

.summary-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  font-size: 13px;
  color: var(--muted);
}

.summary-row span:last-child {
  color: var(--ink);
  font-weight: 500;
  text-align: right;
}

.summary-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  font-weight: 700;
}

.summary-total strong {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.summary-total small {
  display: block;
  font-size: 10.5px;
  font-weight: 400;
  color: var(--muted);
  text-align: right;
  margin-top: 2px;
}

.secure-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
}

.secure-note svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--green);
}

.mobile-paybar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 16px calc(11px + env(safe-area-inset-bottom));
  background: rgba(255, 252, 247, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -14px 34px -24px rgba(29, 21, 18, 0.45);
}

.mobile-paybar > div {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

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

.mobile-paybar strong {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.mobile-paybar .btn {
  padding: 12px 20px;
  font-size: 12px;
}

@media (max-width: 959px) {
  .mobile-paybar {
    display: flex;
  }

  .checkout-page {
    padding-bottom: 104px;
  }

  .checkout-page + .footer {
    padding-bottom: 88px;
  }
}

.order-id-wrap {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.order-copy {
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--rose);
  border-radius: 999px;
  padding: 3px 9px;
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 600;
  cursor: pointer;
}

.order-copy:hover {
  border-color: var(--rose);
}

.summary-note {
  margin-top: 14px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.55;
}

/* ---------- Success ---------- */

.success-page {
  min-height: 68vh;
  padding: 50px 0 90px;
  position: relative;
}

.success-card {
  max-width: 620px;
  margin: 0 auto;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 36px 26px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--green);
}

.success-icon svg {
  width: 28px;
  height: 28px;
}

.success-card h1 {
  font-size: clamp(30px, 5vw, 44px);
}

.success-card > p {
  margin: 14px auto 0;
  max-width: 44ch;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}

.order-box {
  margin: 26px 0 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  text-align: left;
  padding: 18px;
}

.order-box__id {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line-strong);
  font-size: 12px;
  color: var(--muted);
}

.order-box__id strong {
  font-family: var(--font-ui);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.order-box__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-top: 12px;
  font-size: 12.5px;
  color: var(--muted);
}

.order-box__row span:last-child {
  color: var(--ink);
  text-align: right;
  font-weight: 500;
}

.next-steps {
  margin-top: 26px;
  text-align: left;
  display: grid;
  gap: 14px;
}

.next-step {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}

.next-step i {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--rose-soft);
  color: var(--rose);
  display: grid;
  place-items: center;
  font-family: var(--font-ui);
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.next-step p {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-2);
}

.next-step strong {
  display: block;
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 2px;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 28px;
}

.success-actions .btn {
  flex: 1;
  min-width: 160px;
}

.success-demo {
  margin-top: 18px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
}

.confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.confetti i {
  position: absolute;
  top: -20px;
  width: 7px;
  height: 13px;
  border-radius: 2px;
  opacity: 0.85;
  animation: confetti-fall 3.8s ease-in-out forwards;
}

@keyframes confetti-fall {
  0% {
    transform: translateY(-20px) rotate(0deg);
    opacity: 0.9;
  }

  100% {
    transform: translateY(640px) rotate(560deg);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .confetti {
    display: none;
  }
}

/* ---------- Simple empty state ---------- */

.empty-card {
  max-width: 560px;
  margin: 40px auto;
  text-align: center;
  padding: 44px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--cream);
}

.empty-card h1 {
  font-size: clamp(28px, 4vw, 38px);
}

.empty-card p {
  margin: 12px auto 22px;
  color: var(--muted);
  font-size: 14px;
  max-width: 40ch;
}
