/* =====================================================================
   XANTHER — Emotion Smart Ring storefront
   Light editorial luxe: warm white / cream, near-black ink,
   champagne-gold accents. Airy, lots of whitespace. Mobile-first.
   ===================================================================== */

:root {
  --bg:        #fafbfd;   /* warm white */
  --bg-alt:    #f0f3f6;   /* alt section (cream) */
  --ink:       #202936;   /* near-black warm (text) */
  --ink-soft:  #5f6b79;   /* muted warm text */
  --line:      #dfe4ea;   /* hairlines */
  --gold:      #56677b;   /* champagne gold accent */
  --gold-deep: #53657c;   /* darker gold for text contrast on light */
  --surface:   #ffffff;   /* card / input surface */
  --radius:    14px;
  --shadow:    0 18px 50px -28px rgba(70,55,38,.20);
  --maxw:      1180px;
  --ease:      cubic-bezier(.22,.61,.36,1);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: .2px; }
button { font-family: inherit; cursor: pointer; }

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

/* ---- a11y helpers ---- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; background: var(--gold); color: #202936;
  padding: 10px 16px; border-radius: 8px; z-index: 200; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 28px; border-radius: 100px; font-size: 15px; font-weight: 500;
  letter-spacing: .3px; border: 1px solid transparent; transition: all .25s var(--ease);
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--gold); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(33,27,20,.4); }
.btn-ghost:hover { background: rgba(33,27,20,.06); border-color: var(--ink); }
.btn-block { width: 100%; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .22em; font-size: 12px;
  font-weight: 500; color: var(--gold-deep); margin: 0 0 14px;
}

/* ===================== Header ===================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,247,242,.82);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { font-family: var(--serif); font-size: 24px; font-weight: 600; letter-spacing: 3px; color: var(--ink); }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 15px; color: var(--ink-soft); position: relative; padding: 4px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px;
  background: var(--ink); transition: width .25s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.cart-btn {
  position: relative; background: none; border: none; color: var(--ink);
  display: inline-flex; padding: 6px;
}
.cart-badge {
  position: absolute; top: -2px; right: -4px; background: var(--gold); color: #fff;
  font-size: 11px; font-weight: 600; min-width: 18px; height: 18px; border-radius: 9px;
  display: grid; place-items: center; padding: 0 4px;
}
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.menu-toggle span { width: 22px; height: 1.5px; background: var(--ink); transition: .25s var(--ease); }

/* ===================== Hero ===================== */
.hero { position: relative; min-height: 88dvh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(26,23,20,.62) 0%, rgba(26,23,20,.28) 42%, rgba(26,23,20,0) 70%);
}
.hero-content { position: relative; z-index: 2; color: #fff; max-width: 620px; padding: 60px 0; }
.hero-content .eyebrow { color: #e9d8b4; }
.hero-content h1 { font-size: clamp(44px, 8vw, 88px); margin-bottom: 18px; }
.hero-sub { font-size: clamp(16px, 2.2vw, 19px); color: rgba(255,255,255,.86); max-width: 470px; margin: 0 0 30px; }
.hero-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.hero-cta .btn { min-width: 180px; }

/* ===================== Sections ===================== */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.section-head h2 { font-size: clamp(34px, 5vw, 52px); }
.section-lede { color: var(--ink-soft); margin: 16px 0 0; font-size: 17px; }

/* ---- products ---- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 26px; }
.product-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-media { aspect-ratio: 1/1; background: #f8fafc; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.05); }
.product-info { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-info h3 { font-size: 26px; }
.product-finish { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); }
.product-price { font-size: 18px; font-weight: 500; margin: 6px 0 16px; }
.product-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: auto; }
.product-actions .btn {
  min-width: 0; width: 100%; padding: 11px 8px; font-size: 14px; letter-spacing: 0;
  white-space: nowrap; word-break: keep-all; overflow-wrap: normal;
}
.product-actions .btn-label { display: block; white-space: nowrap; word-break: keep-all; }
.size-finder-link { display: block; margin-top: 12px; color: var(--gold-deep); font-size: 13px; text-align: center; text-decoration: underline; text-underline-offset: 3px; }
.size-finder-link:hover { color: var(--ink); }
.btn-buy { background: transparent; border: 1px solid var(--ink); color: var(--ink); }
.btn-buy:hover { background: var(--ink); color: var(--bg); }

/* ---- features ---- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature-card { background: var(--surface); padding: 30px 26px; }
.feature-card h3 { font-size: 22px; margin-bottom: 8px; color: var(--gold-deep); }
.feature-card p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }

/* ---- specs ---- */
.spec-list { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; }
.spec-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 18px 4px; border-bottom: 1px solid var(--line);
}
.spec-list li span { color: var(--ink-soft); font-size: 14px; letter-spacing: .04em; }
.spec-list li strong { font-weight: 500; text-align: right; }

/* ---- story ---- */
.section-story { background: var(--bg-alt); color: var(--ink); }
.story-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: center; }
.story-text .eyebrow { color: var(--gold-deep); }
.story-text h2 { font-size: clamp(34px, 5vw, 50px); margin-bottom: 18px; }
.story-text p { color: var(--ink-soft); margin: 0 0 18px; max-width: 460px; }
.story-text .btn-primary { background: var(--ink); color: var(--bg); margin-top: 8px; }
.story-text .btn-primary:hover { background: var(--gold); color: #fff; }
.story-media { position: relative; perspective: 1200px; }
.story-media::before {
  /* 静态椭圆投影：戒指旋转时地面阴影不动，更有落地感 */
  content: ""; position: absolute; left: 50%; bottom: 3%;
  width: 58%; height: 6%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(33,27,20,.20), transparent 70%);
  border-radius: 50%;
  z-index: 0;
}
@keyframes ring-yaw {
  0%   { transform: rotateY(-34deg) rotateX(7deg); }
  50%  { transform: rotateY( 34deg) rotateX(7deg); }
  100% { transform: rotateY(-34deg) rotateX(7deg); }
}
.ring3d {
  width: 100%; max-width: 440px; aspect-ratio: 1 / 1;
  margin-inline: auto; position: relative; z-index: 1;
}
.ring3d canvas {
  width: 100% !important; height: 100% !important;
  display: block; cursor: grab; touch-action: pan-y;
}
.ring3d.grabbing canvas { cursor: grabbing; }
.ring3d-fallback {
  width: 100%; max-width: 440px; height: auto; margin-inline: auto;
  position: relative; z-index: 1; display: block;
}
@media (prefers-reduced-motion: reduce) {
  .ring3d-fallback { animation: none; }
  .ring3d::before { display: none; }
  .story-media::before { display: none; }
}

/* ---- faq ---- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq-list summary {
  cursor: pointer; list-style: none; padding: 20px 36px 20px 4px; position: relative;
  font-size: 18px; font-weight: 400; font-family: var(--serif);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-size: 24px; font-family: var(--sans); color: var(--gold-deep); transition: transform .25s var(--ease);
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list p { margin: 0 4px 22px; color: var(--ink-soft); }

/* ---- newsletter ---- */
.newsletter { text-align: center; background: var(--bg-alt); }
.newsletter-inner { max-width: 560px; margin: 0 auto; }
.newsletter h2 { font-size: clamp(30px, 4.5vw, 44px); }
.newsletter p { color: var(--ink-soft); margin: 12px 0 26px; }
.newsletter-form { display: flex; gap: 10px; max-width: 440px; margin: 0 auto; }
.newsletter-form input {
  flex: 1; padding: 13px 18px; border: 1px solid var(--line); border-radius: 100px;
  background: var(--surface); color: var(--ink); font-size: 15px; font-family: inherit;
}
.newsletter-form input::placeholder { color: #a99c89; }
.newsletter-form input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.form-msg { min-height: 20px; font-size: 14px; color: var(--gold-deep); margin: 14px 0 0; }

/* ===================== Footer ===================== */
.site-footer { background: var(--bg-alt); color: var(--ink-soft); padding: 60px 0 30px; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; }
.footer-brand .brand { color: var(--ink); font-size: 26px; }
.footer-brand p { margin: 10px 0 0; color: var(--ink-soft); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols h4 { color: var(--ink); font-family: var(--sans); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.footer-cols a { display: block; color: var(--ink-soft); font-size: 14.5px; padding: 5px 0; }
.footer-cols a:hover { color: var(--ink); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--ink-soft);
}

/* ===================== Cart drawer ===================== */
.overlay {
  position: fixed; inset: 0; background: rgba(40,32,22,.42); z-index: 150;
  opacity: 0; transition: opacity .3s var(--ease);
}
.overlay.show { opacity: 1; }
.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100dvh; width: min(420px, 92vw);
  background: var(--bg); z-index: 160; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .35s var(--ease);
  box-shadow: -20px 0 60px -30px rgba(40,30,18,.35);
}
.cart-drawer.open { transform: translateX(0); }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 22px; border-bottom: 1px solid var(--line); }
.cart-head h3 { font-size: 26px; }
.icon-btn { background: none; border: none; font-size: 28px; line-height: 1; color: var(--ink); padding: 0 6px; }
.cart-body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.cart-empty { color: var(--ink-soft); text-align: center; margin-top: 40px; }
.cart-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; }
.cart-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; background: #f8fafc; }
.cart-item h4 { font-family: var(--sans); font-size: 15px; font-weight: 500; margin: 0; }
.cart-item .ci-finish { font-size: 12px; color: var(--ink-soft); }
.ci-size { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12px; color: var(--ink-soft); }
.ci-size select { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 7px; padding: 4px 7px; font: inherit; }
.ci-qty { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; }
.ci-qty button { width: 26px; height: 26px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 7px; font-size: 15px; line-height: 1; }
.ci-qty span { min-width: 18px; text-align: center; font-size: 14px; }
.ci-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.ci-price { font-size: 14px; font-weight: 500; }
.ci-remove { background: none; border: none; font-size: 12px; color: var(--ink-soft); text-decoration: underline; }
.cart-foot { padding: 20px 22px; border-top: 1px solid var(--line); }
.cart-subtotal { display: flex; justify-content: space-between; font-size: 17px; margin-bottom: 14px; }
.cart-note { font-size: 12px; color: var(--ink-soft); text-align: center; margin: 10px 0 0; }

/* ===================== Checkout modal ===================== */
.checkout-modal {
  position: fixed; z-index: 170; top: 50%; left: 50%; transform: translate(-50%, -46%);
  width: min(560px, 94vw); max-height: 92dvh; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 30px 30px 34px;
  box-shadow: 0 40px 90px -40px rgba(40,30,18,.30); opacity: 0; transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.checkout-modal.open { opacity: 1; transform: translate(-50%, -50%); }
.checkout-x { position: absolute; top: 14px; right: 16px; }
.checkout-modal h3 { font-size: 32px; margin-bottom: 18px; }
.checkout-form fieldset { border: none; padding: 0; margin: 0 0 22px; }
.checkout-form legend { font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 12px; padding: 0; }
.checkout-form label { display: block; font-size: 13px; color: var(--ink-soft); margin: 10px 0 5px; }
.checkout-form input {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 15px; background: #fafbfd; color: var(--ink);
}
.checkout-form input::placeholder { color: #a99c89; }
.checkout-form input:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.form-grid label { min-width: 0; }
.form-grid .form-wide { grid-column: 1 / -1; }
.tracking-summary { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.tracking-summary strong { color: var(--ink); font-weight: 600; text-align: right; }
.tracking-note { margin: 12px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.5; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkout-order { list-style: none; margin: 0 0 12px; padding: 0; }
.checkout-order li { display: flex; justify-content: space-between; font-size: 14.5px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.checkout-total { display: flex; justify-content: space-between; font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.pay-hint { font-size: 13px; color: var(--ink-soft); margin: 0 0 14px; }
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pay-btn {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
  color: var(--ink); font-size: 15px; font-weight: 500; transition: all .2s var(--ease);
}
.pay-btn:hover { border-color: var(--ink); transform: translateY(-2px); }
.pay-btn .pay-ico { width: 22px; height: 22px; border-radius: 5px; display: inline-block; }
.pay-stripe .pay-ico { background: #635bff; }
.pay-paypal .pay-ico { background: #003087; }
.pay-alipay .pay-ico { background: #1677ff; }
.pay-wechat .pay-ico { background: #07c160; }
.pay-klarna .pay-ico { background: #ffb3c7; }
.pay-apple .pay-ico { background: #000; border: 1px solid #444; }

/* ===================== Responsive ===================== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0; position: absolute; top: 66px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 22px 18px;
  }
  .nav-links.open a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .story-inner { grid-template-columns: 1fr; gap: 30px; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form .btn { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .form-wide { grid-column: auto; }
  .pay-grid { grid-template-columns: 1fr; }
  .hero-overlay { background: linear-gradient(0deg, rgba(26,23,20,.72) 0%, rgba(26,23,20,.18) 60%); }
  .hero-content { max-width: 100%; }
}

/* ---- motion safety ---- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Payment readiness and currency selection */
.preview-banner { padding: 10px 16px; text-align: center; background: #243830; color: white; font-size: 14px; }
.currency-choice { display: grid; gap: 2px; font-size: 12px; }
.currency-choice select { padding: 6px; border: 1px solid #bbb; border-radius: 4px; background: white; font: inherit; font-size: 14px; }
.pay-btn:disabled { opacity: .7; cursor: not-allowed; display: flex; flex-direction: column; gap: 5px; }
.pay-btn small { font-size: 12px; font-weight: 400; }
@media(max-width: 600px) { .nav-actions { gap: 8px; } .currency-choice { font-size: 12px; } }
[hidden] { display: none !important; }

/* Actual black product photo in the story section. */
.story-media:has(.story-ring-photo)::before { display: none; }
.story-ring-photo { display: block; width: 100%; max-width: 520px; height: auto; aspect-ratio: 1; object-fit: contain; margin-inline: auto; border-radius: 20px; }

/* Gentle perspective rotation of the actual product photograph. */
.story-ring-motion { overflow: hidden; border-radius: 20px; background: #f8fafc; }
.story-ring-motion .story-ring-photo { transform-origin: center; animation: black-ring-turn 8s ease-in-out infinite; }
@keyframes black-ring-turn {
  0%, 100% { transform: scale(.94) rotateY(-22deg) rotateZ(-3deg); }
  50% { transform: scale(.94) rotateY(22deg) rotateZ(3deg); }
}
.story-ring-motion.is-paused .story-ring-photo { animation-play-state: paused; }
.ring-motion-toggle { position: absolute; bottom: 14px; right: 14px; z-index: 2; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; background: rgba(255,255,255,.9); color: var(--ink-soft); font: inherit; font-size: 12px; cursor: pointer; }
.ring-motion-toggle:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .story-ring-motion .story-ring-photo { animation: none; transform: none; } .ring-motion-toggle { display: none; } }

/* Persistent language control, available on both pages and small screens. */
.language-choice { display: grid; gap: 2px; font-size: 12px; flex-shrink: 0; }
.language-select { min-height: 32px; max-width: 92px; padding: 5px 6px; border: 1px solid var(--line); border-radius: 5px; background: white; color: var(--ink); font: inherit; font-size: 13px; }
.language-select:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
html:lang(zh) { --sans: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif; --serif: "Songti SC", "Noto Serif CJK SC", Georgia, serif; }
html:lang(zh) .eyebrow, html:lang(zh) .product-finish { letter-spacing: .1em; }
html:lang(zh) h1 { line-height: 1.3; }
@media (max-width: 1100px) and (min-width: 901px) { .nav-links { gap: 12px; } .nav-actions { gap: 8px; } }
@media (max-width: 600px) {
  .nav-inner { min-height: 76px; height: auto; flex-wrap: wrap; padding-block: 10px; gap: 8px; }
  .nav-actions { margin-left: auto; gap: 8px; }
  .nav-inner > .brand { font-size: 20px; letter-spacing: 2px; }
  .language-choice, .currency-choice { font-size: 11px; }
  .language-select { max-width: 82px; }
  .product-page .nav-actions .btn-small { padding: 8px 12px; }
}
@media (max-width: 360px) { .nav-inner > .brand { font-size: 17px; } .nav-actions { gap: 5px; } .language-select { max-width: 76px; } }
@media (max-width: 600px) {
  .nav-inner > .brand { font-size: 18px; letter-spacing: 1.5px; }
  .nav-actions { gap: 6px; }
  .currency-choice select { width: 66px; padding: 6px 3px; font-size: 12px; }
  .language-select { max-width: 76px; }
}

html[lang="zh-Hant"] { --sans: "Inter", "PingFang TC", "Microsoft JhengHei", sans-serif; --serif: "Songti TC", "Noto Serif CJK TC", Georgia, serif; }
.language-select { width: 108px; max-width: 108px; }
@media (max-width: 600px) { .language-select { width: 100px; max-width: 100px; } }

/* Keep homepage copy on the left of the portrait. */
.hero > .hero-content { width: 44%; max-width: 580px; margin-left: clamp(22px, 4vw, 72px); margin-right: auto; padding: 54px 0; }
.hero-content h1 { font-size: clamp(34px, 4.8vw, 68px); }
.hero-sub { max-width: 420px; }
@media (max-width: 560px) {
  .hero > .hero-content { width: 49%; margin-left: 18px; padding: 40px 0; }
  .hero-content h1 { font-size: clamp(28px, 6.8vw, 38px); }
  .hero-content .eyebrow { font-size: 10px; letter-spacing: 2px; }
  .hero-sub { font-size: 13px; line-height: 1.65; }
  .hero-cta .btn { min-width: 0; width: 100%; padding: 12px 10px; font-size: 13px; }
}

/* App-inspired feature symbols, with theme-aware colors. */
.feature-card h3 { display:flex; align-items:center; gap:10px; }
.app-feature-icon { width:36px; height:36px; flex:0 0 36px; display:inline-flex; align-items:center; justify-content:center; border-radius:50%; background:var(--bg-alt); color:var(--gold-deep); }
.app-feature-icon svg { width:23px; height:23px; display:block; }
.feature-card h3 > span:last-child { min-width:0; }
