/* ---------- Tokens ---------- */
:root {
  --bg: #F5EFE1;          /* cream paper */
  --bg-alt: #EEE6D2;
  --ink: #1A1A2E;         /* deep ink */
  --ink-soft: #3a3a52;
  --muted: #6a6a7a;
  --rule: #d8cdb2;
  --wax: #8B1A1A;         /* wax seal red */
  --wax-2: #a8241f;
  --gold: #b2944a;
  --dark: #13131f;
  --paper-shadow: 0 30px 60px -30px rgba(26,26,46,.25), 0 6px 16px -6px rgba(26,26,46,.15);

  --ff-display: "Cormorant Garamond", "Noto Serif HK", Georgia, serif;
  --ff-body: "Inter", "Noto Sans HK", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --wrap: min(1180px, 92%);
  --radius: 6px;
}

html[lang="zh"] {
  --ff-display: "Noto Serif HK", "Cormorant Garamond", Georgia, serif;
  --ff-body: "Noto Sans HK", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(1200px 600px at 85% -200px, rgba(139,26,26,.05), transparent 60%),
    radial-gradient(900px 500px at -100px 500px, rgba(178,148,74,.07), transparent 60%);
}
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--wax); }

.wrap { width: var(--wrap); margin-inline: auto; }
.fine { font-size: 13px; color: var(--muted); line-height: 1.5; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  color: var(--wax);
  font-weight: 600;
}
html[lang="zh"] .eyebrow { letter-spacing: .08em; }

.display {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: .4em 0 .25em;
}
.h2 {
  font-family: var(--ff-display);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.005em;
  margin: 0 0 .25em;
}
.h2--light { color: #F5EFE1; }
.h3 { font-family: var(--ff-display); font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; margin: 0 0 .4em; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(245, 239, 225, .85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
  gap: 18px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; }
.logo__mark { width: 28px; height: 28px; color: var(--ink); }
.logo__en { font-family: var(--ff-display); font-size: 22px; font-weight: 600; letter-spacing: .01em; }
.logo__zh { font-family: var(--ff-display); font-size: 20px; font-weight: 600; color: var(--wax); margin-left: 4px; }

.nav__links { display: flex; gap: 22px; flex: 1; justify-content: center; }
.nav__links a { font-size: 15px; color: var(--ink-soft); font-weight: 500; }
.nav__links a:hover { color: var(--ink); }
.nav__right { display: flex; align-items: center; gap: 10px; }

.lang {
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink);
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
  letter-spacing: .04em;
}
.lang:hover { border-color: var(--ink); }
.lang__sep { margin: 0 5px; opacity: .4; }
html[lang="en"] .lang__a { color: var(--wax); }
html[lang="zh"] .lang__b { color: var(--wax); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .2s, color .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
  letter-spacing: .01em;
}
.btn--lg { padding: 14px 26px; font-size: 15px; }
.btn--primary {
  background: var(--ink);
  color: var(--bg);
}
.btn--primary:hover { background: var(--wax); color: #fff; transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--bg); }

/* ---------- Hero ---------- */
.hero { padding: 70px 0 40px; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}
.hero__copy { max-width: 640px; }
.lede { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-soft); max-width: 56ch; }
.hero__cta { display: flex; gap: 12px; margin: 28px 0 24px; flex-wrap: wrap; }
.hero__badges {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: flex; flex-wrap: wrap; gap: 10px 16px;
  font-size: 13px; color: var(--muted);
}
.hero__badges li { position: relative; padding-left: 18px; }
.hero__badges li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--wax); opacity: .75;
}

/* Envelope illustration */
.hero__envelope { display: flex; justify-content: center; align-items: center; }
.envelope {
  position: relative;
  width: min(460px, 100%);
  aspect-ratio: 7 / 4;
  background: linear-gradient(180deg, #fdfaf1 0%, #f5ecd4 100%);
  border: 1px solid #e1d3a9;
  border-radius: 4px;
  box-shadow: var(--paper-shadow);
  padding: 24px;
  overflow: hidden;
  transform: rotate(-2deg);
  transition: transform .4s ease;
}
.hero__envelope:hover .envelope { transform: rotate(-1deg) translateY(-4px); }
.envelope::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(139,26,26,.5) 0 8px, transparent 8px 16px, rgba(26,26,46,.55) 16px 24px, transparent 24px 32px);
  background-size: 100% 10px;
  background-repeat: no-repeat;
  background-position: 0 0, 0 100%;
  opacity: .85;
  height: 10px;
}
.envelope::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 10px;
  background-image: repeating-linear-gradient(135deg, rgba(139,26,26,.5) 0 8px, transparent 8px 16px, rgba(26,26,46,.55) 16px 24px, transparent 24px 32px);
}
.envelope__stamp {
  position: absolute; top: 18px; right: 18px;
  width: 72px; height: 86px;
  background: #fff4d4;
  border: 1px dashed #8B1A1A;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--ff-display); color: var(--wax);
  transform: rotate(6deg);
  box-shadow: 0 2px 0 rgba(0,0,0,.04);
}
.envelope__stamp-value { font-size: 22px; font-weight: 700; }
.envelope__stamp-origin { font-size: 9px; letter-spacing: .16em; color: var(--ink); margin-top: 2px; }
.envelope__postmark {
  position: absolute; top: 46px; right: 100px;
  width: 92px; height: 92px;
  border: 1.5px solid var(--wax);
  border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transform: rotate(-10deg);
  color: var(--wax);
  font-family: var(--ff-display);
  font-size: 10px;
  letter-spacing: .14em;
  opacity: .75;
}
.envelope__postmark::before, .envelope__postmark::after {
  content: ""; position: absolute; inset: 6px; border: 1px dashed var(--wax); border-radius: 50%; opacity: .6;
}
.envelope__postmark-date { margin-top: 4px; font-size: 9px; letter-spacing: .08em; }

.envelope__address {
  position: absolute; left: 28px; bottom: 36px;
  font-size: 14px;
  color: var(--ink);
  font-family: var(--ff-display);
}
.envelope__to-label { font-size: 10px; letter-spacing: .2em; color: var(--muted); margin-bottom: 6px; font-family: var(--ff-body); font-weight: 600; }
.envelope__to span { display: block; font-size: 16px; }
.envelope__to .line-1 { font-weight: 600; margin-bottom: 2px; }

.envelope__seal {
  position: absolute; right: 28px; bottom: 18px;
  width: 52px; height: 52px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #c0302c 0%, var(--wax) 45%, #5c0f0f 100%);
  color: #ffe9bd;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .05em;
  box-shadow: 0 6px 16px -4px rgba(139,26,26,.55), inset -3px -3px 6px rgba(0,0,0,.35), inset 3px 3px 6px rgba(255,255,255,.15);
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--rule);
  background: var(--bg-alt);
  padding: 12px 0;
  white-space: nowrap;
  font-family: var(--ff-display);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 18px;
}
.marquee__track {
  display: inline-flex;
  gap: 22px;
  animation: scroll 40s linear infinite;
  padding-inline: 22px;
}
.marquee__track span { flex-shrink: 0; }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--rule); }
.section--dark {
  background: var(--dark);
  color: var(--bg);
  border-top: 1px solid rgba(255,255,255,.06);
}
.section--dark .eyebrow { color: var(--gold); }
.section--dark a { color: var(--bg); }
.section--dark a:hover { color: var(--gold); }

.section__head { max-width: 780px; margin-bottom: 44px; }
.section__lede { color: var(--ink-soft); font-size: clamp(16px, 1.2vw, 18px); }
.section__lede--light { color: rgba(245,239,225,.75); }

/* ---------- Why grid ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.why-card {
  background: #fffaed;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 28px 26px;
  position: relative;
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 2px 0 rgba(26,26,46,.03);
  transition: transform .15s ease, box-shadow .2s;
}
.why-card:hover { transform: translateY(-2px); box-shadow: var(--paper-shadow); }
.why-card__kicker {
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--wax);
  font-weight: 700;
  margin-bottom: 12px;
}
.why-card h3 { margin: 0 0 10px; font-family: var(--ff-display); font-size: 24px; font-weight: 600; line-height: 1.2; }
.why-card p { margin: 0 0 10px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; }
.why-card .fine { font-style: italic; }

/* ---------- Use cases ---------- */
.uc {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.uc__col {
  background: #fffaed;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 24px 22px;
  display: flex; flex-direction: column;
}
.uc__title {
  font-family: var(--ff-display);
  font-size: 22px;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--rule);
  color: var(--ink);
  font-weight: 600;
}
.uc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.uc__list li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.uc__list li::before {
  content: "✉"; position: absolute; left: 0; top: 0;
  color: var(--wax); font-size: 12px;
}

/* ---------- How ---------- */
.how {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.how__step {
  background: #fffaed;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 26px 24px;
  position: relative;
}
.how__num {
  font-family: var(--ff-display);
  font-size: 44px;
  font-weight: 500;
  color: var(--wax);
  line-height: 1;
  margin-bottom: 12px;
  font-style: italic;
}
.how__step h3 { margin: 0 0 6px; font-size: 20px; font-family: var(--ff-display); font-weight: 600; }
.how__step p { margin: 0; font-size: 15px; color: var(--ink-soft); line-height: 1.55; }

/* ---------- Pricing tiers ---------- */
.tiers {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}
.tier {
  background: #fffaed;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 26px 22px;
  position: relative;
  display: flex; flex-direction: column;
}
.tier--featured {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  transform: translateY(-6px);
  box-shadow: var(--paper-shadow);
}
.tier--featured .tier__qty, .tier--featured .tier__name, .tier--featured .tier__desc { color: var(--bg); }
.tier--featured .tier__price { color: #fff; }
.tier__tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--wax);
  color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  padding: 5px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  white-space: nowrap;
}
.tier__qty { font-size: 13px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.tier__price {
  font-family: var(--ff-display);
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
  margin: 12px 0 6px;
  color: var(--ink);
}
.tier__price span { font-size: 14px; color: var(--muted); font-family: var(--ff-body); margin-left: 4px; }
.tier--featured .tier__price span { color: rgba(245,239,225,.7); }
.tier__name { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.tier__desc { font-size: 14px; color: var(--ink-soft); line-height: 1.5; margin: 0; }

/* ---------- Add-ons ---------- */
.addons__title { margin-top: 24px; margin-bottom: 12px; }
.addons {
  background: #fffaed;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: auto;
  margin-bottom: 56px;
}
.addons__table {
  width: 100%; border-collapse: collapse;
  font-size: 14.5px;
}
.addons__table th, .addons__table td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--rule);
}
.addons__table th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  font-weight: 600;
}
.addons__table tbody tr:last-child td { border-bottom: none; }
.addons__table td:nth-child(2) { font-weight: 600; color: var(--wax); white-space: nowrap; }

/* ---------- Calculator ---------- */
.calc {
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: grid;
  gap: 18px;
}
.calc h3 { color: var(--bg); margin: 0; }
.calc .fine { color: rgba(245,239,225,.65); margin: 0 0 8px; }
.calc__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.calc__field {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 13px;
  color: rgba(245,239,225,.85);
}
.calc__field input, .calc__field select {
  background: rgba(255,255,255,.05);
  color: var(--bg);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 4px;
  padding: 12px 14px;
  font-family: var(--ff-body);
  font-size: 15px;
  transition: border-color .2s, background .2s;
}
.calc__field input:focus, .calc__field select:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,.1);
}
.calc__field select option { color: #000; }
.calc__out {
  display: flex; flex-wrap: wrap;
  align-items: flex-end;
  gap: 24px;
  margin-top: 10px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.calc__outline { display: flex; flex-direction: column; gap: 4px; }
.calc__label { font-size: 12px; color: rgba(245,239,225,.6); text-transform: uppercase; letter-spacing: .12em; }
.calc__val { font-family: var(--ff-display); font-size: 32px; font-weight: 500; color: #fff; }
.calc__outline--total .calc__val { color: var(--gold); font-size: 44px; }
.calc__out .btn { margin-left: auto; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq__item {
  border-bottom: 1px solid var(--rule);
  padding: 18px 0;
}
.faq__item summary {
  cursor: pointer;
  font-family: var(--ff-display);
  font-size: 21px;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 36px;
  color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 400;
  color: var(--wax);
  transition: transform .2s, background .2s;
}
.faq__item[open] summary::after { content: "–"; background: var(--wax); color: #fff; border-color: var(--wax); }
.faq__body { padding-top: 12px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.65; }
.faq__body p { margin: 0; }

/* ---------- Quote ---------- */
.quote { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.quote__copy { max-width: 520px; }
.quote__contacts {
  list-style: none; padding: 0; margin-top: 28px;
  display: grid; gap: 14px;
}
.quote__contacts li { display: grid; grid-template-columns: 90px 1fr; gap: 10px; align-items: baseline; font-size: 15px; }
.quote__contacts strong { font-weight: 600; color: var(--gold); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }

.quote__form {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field { display: flex; flex-direction: column; gap: 6px; grid-column: span 2; font-size: 13px; color: rgba(245,239,225,.85); }
.field--half { grid-column: span 1; }
.field input, .field select, .field textarea {
  background: rgba(255,255,255,.05);
  color: var(--bg);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 4px;
  padding: 12px 14px;
  font-family: var(--ff-body);
  font-size: 15px;
  transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: rgba(255,255,255,.1);
}
.field textarea { resize: vertical; min-height: 96px; }
.field select option { color: #000; }
.quote__form .btn { grid-column: span 2; justify-self: start; margin-top: 8px; }
.quote__form .fine { grid-column: span 2; color: rgba(245,239,225,.7); margin: 0; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(245,239,225,.7);
  padding: 60px 0 40px;
  font-size: 14px;
}
.footer .logo__en, .footer .logo__zh { color: var(--bg); font-size: 22px; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}
.footer__brand .fine { color: rgba(245,239,225,.55); margin-top: 8px; max-width: 36ch; }
.footer__cols { display: flex; gap: 40px; }
.footer__cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__cols a { color: rgba(245,239,225,.75); }
.footer__cols a:hover { color: var(--gold); }
.footer__legal { display: grid; gap: 12px; font-size: 12.5px; color: rgba(245,239,225,.5); }
.footer__legal span { line-height: 1.5; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .tiers { grid-template-columns: repeat(3, 1fr); }
  .tier--featured { transform: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .uc { grid-template-columns: repeat(2, 1fr); }
  .how { grid-template-columns: repeat(2, 1fr); }
  .calc__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav__links { display: none; }
  .hero { padding: 40px 0 30px; }
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .section { padding: 64px 0; }
  .tiers { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .uc { grid-template-columns: 1fr; }
  .how { grid-template-columns: 1fr; }
  .calc__grid { grid-template-columns: 1fr; }
  .quote { grid-template-columns: 1fr; gap: 32px; }
  .footer__inner { grid-template-columns: 1fr; gap: 30px; }
  .footer__cols { flex-direction: column; gap: 20px; }
  .addons__table th:nth-child(3), .addons__table td:nth-child(3) { display: none; }
  .calc__out { flex-direction: column; align-items: flex-start; gap: 14px; }
  .calc__out .btn { margin-left: 0; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  html { scroll-behavior: auto; }
}
