/* ==========================================================================
   折仓 — 3C 数码折扣落地页
   Design: price-sheet / hang-tag. Paper + ink + signal red.
   ========================================================================== */

:root {
  --paper: #eef0f2;
  --white: #ffffff;
  --ink: #101318;
  --ink-2: #3d434b;
  --muted: #6d747d;
  --line: #d9dde1;
  --line-strong: #b7bdc5;
  --red: #e23a2e;
  --red-deep: #c22b20;
  --navy: #14212c;
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --num: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --header-h: 64px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --gutter: clamp(20px, 7vw, 96px);
}

html:lang(ja) {
  --sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --serif: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif SC", serif;
}
html:lang(ko) {
  --sans: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans SC", sans-serif;
  --serif: "Noto Serif KR", "Nanum Myeongjo", "Batang", "Noto Serif SC", serif;
}
html:lang(ar) {
  --sans: "Noto Sans Arabic", "Segoe UI", Tahoma, "Noto Sans SC", sans-serif;
  --serif: "Noto Naskh Arabic", "Noto Serif SC", serif;
}

.price-now,
.hero-label-price,
.price-meta s,
.tier-face,
.tier-price,
.tier-save,
.tier-off,
.hero-tag strong,
.price-meta em,
.dialog-price,
.order-contact b,
.footer-links a[href^="mailto"],
.brand-sub {
  direction: ltr;
  unicode-bidi: isolate;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 64px);
  -webkit-text-size-adjust: 100%;
}

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

body.no-scroll { overflow: hidden; }

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

h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

a { color: inherit; }

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

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

.nowrap { white-space: nowrap; }

.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;
}

.skip-link {
  position: fixed;
  top: -100px;
  inset-inline-start: 16px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  width: min(1240px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Buttons + links
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease);
}

.btn--primary {
  background: var(--ink);
  color: #fff;
}
.btn--primary:hover { background: var(--red); }

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

.btn--red {
  background: var(--red);
  color: #fff;
}
.btn--red:hover { background: var(--red-deep); }

.btn--light {
  background: var(--paper);
  color: var(--ink);
}
.btn--light:hover { background: #fff; }

.btn--outline-light {
  border-color: rgba(255, 255, 255, .34);
  color: #fff;
}
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

.btn--sm {
  padding: 11px 16px;
  font-size: 13px;
}

.text-link {
  display: inline-block;
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: color .18s, border-color .18s;
}
.text-link:hover { color: var(--red); border-color: var(--red); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  height: var(--header-h);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  flex: none;
}
.brand-mark {
  width: 28px;
  height: 28px;
  color: var(--red);
  flex: none;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-name {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 21px;
  letter-spacing: .01em;
}
.brand-sub {
  margin-top: 4px;
  font-family: var(--num);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}
.site-nav a {
  position: relative;
  font-size: 13.5px;
  color: var(--ink-2);
  text-decoration: none;
  padding: 4px 0;
  transition: color .18s;
}
.site-nav a::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--red);
  transition: width .24s var(--ease);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { width: 100%; }

.site-nav .nav-order { display: none; }

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

.lang-switch {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 38px;
  padding: 0 6px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  transition: border-color .18s;
}
.lang-switch:hover { border-color: var(--line-strong); }
.lang-switch:has(select:focus-visible) {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
.lang-icon {
  width: 15px;
  height: 15px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
}
.lang-switch select {
  max-width: 94px;
  border: 0;
  padding: 2px 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.2;
  cursor: pointer;
}
.lang-switch select:focus { outline: none; }

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 2px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: #fff;
}
.menu-btn span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .22s var(--ease), opacity .22s var(--ease);
}
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

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

.hero {
  position: relative;
  isolation: isolate;
  background: var(--paper);
  padding: clamp(36px, 5vw, 64px) 0 clamp(40px, 5vw, 68px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.hero-copy { position: relative; z-index: 2; max-width: 660px; }

.hero h1 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(2.55rem, 5.1vw, 4.45rem);
  line-height: 1.1;
  letter-spacing: -.012em;
  margin-bottom: clamp(18px, 2.4vw, 26px);
}

.hero-offer { color: var(--red); }
.hero-five {
  display: inline-block;
  font-family: var(--num);
  font-weight: 900;
  font-size: 1.24em;
  line-height: .82;
  letter-spacing: -.05em;
  margin-inline: .02em .04em;
}

.hero-lead {
  max-width: 41ch;
  text-wrap: pretty;
  font-size: clamp(15px, 1.2vw, 16.5px);
  line-height: 1.85;
  color: var(--ink-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(24px, 3vw, 32px);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 26px;
  font-size: 12.5px;
  color: var(--muted);
}
.hero-meta li { display: flex; align-items: center; }
.hero-meta li + li::before {
  content: "";
  width: 1px;
  height: 10px;
  background: var(--line-strong);
  margin: 0 14px;
}

/* hero visual */
.hero-stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: 2% 0;
  background: var(--paper);
}
.hero-stage::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  width: 88%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(16, 19, 24, .09);
  border-radius: 50%;
}
.hero-product {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 540px;
  mix-blend-mode: multiply;
  transform: rotate(-2.5deg);
}
[dir="rtl"] .hero-product { transform: rotate(2.5deg); }

.hero-tag {
  position: absolute;
  z-index: 3;
  top: 3%;
  inset-inline-end: 1%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-block: 16px 17px;
  padding-inline: 34px 22px;
  background: var(--red);
  color: #fff;
  transform: rotate(6deg);
  clip-path: polygon(7% 0, 100% 0, 100% 100%, 7% 100%, 0 50%);
  width: max-content;
  max-width: calc(100% - 8px);
  min-width: 132px;
}
[dir="rtl"] .hero-tag {
  transform: rotate(-6deg);
  clip-path: polygon(93% 0, 100% 50%, 93% 100%, 0 100%, 0 0);
}
.hero-tag::before {
  content: "";
  position: absolute;
  inset-inline-start: 22px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--paper);
}
.hero-tag span {
  font-size: 11px;
  line-height: 1;
  opacity: .8;
}
.hero-tag strong {
  display: block;
  margin-top: 5px;
  font-family: var(--num);
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 1.14;
  letter-spacing: -.03em;
  white-space: nowrap;
}

.hero-label {
  position: absolute;
  z-index: 4;
  inset-inline-start: 0;
  bottom: 4%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 13px 16px 12px;
  background: #fff;
  border: 1px solid var(--ink);
  box-shadow: 6px 6px 0 rgba(16, 19, 24, .07);
  transform: rotate(-3deg);
  width: max-content;
  max-width: calc(100% - 8px);
}
[dir="rtl"] .hero-label { transform: rotate(3deg); }
.hero-label-name {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.3;
}
.hero-label-price {
  display: flex;
  align-items: baseline;
  gap: 9px;
}
.hero-label-price b {
  font-family: var(--num);
  font-weight: 800;
  font-size: 1.8rem;
  line-height: 1;
  letter-spacing: -.04em;
}
.hero-label-price s {
  font-family: var(--num);
  font-size: 12px;
  color: var(--muted);
}
.hero-label-off {
  font-size: 11.5px;
  color: var(--red);
  font-weight: 500;
  line-height: 1.2;
}

.cur {
  font-size: .62em;
  font-weight: 700;
  vertical-align: .08em;
  margin-right: 1px;
}

/* --------------------------------------------------------------------------
   Sub nav
   -------------------------------------------------------------------------- */

.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.subnav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 52px;
}
.subnav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.subnav-links a {
  font-size: 13px;
  color: var(--ink-2);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color .18s, border-color .18s;
}
.subnav-links a:hover { color: var(--red); border-color: var(--red); }
.subnav-note {
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
}

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

.section { padding: clamp(54px, 7vw, 92px) 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(24px, 3.4vw, 40px);
}

.section-title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.16;
  letter-spacing: -.01em;
}

.section-note {
  max-width: 36ch;
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--muted);
  text-align: end;
}

/* --------------------------------------------------------------------------
   Hardware price sheet
   -------------------------------------------------------------------------- */

.price-sheet {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
}

.product {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(18px, 2.2vw, 28px);
  background: #fff;
}

.product-main {
  display: grid;
  grid-template-columns: minmax(0, 41%) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 24px);
  align-items: center;
}

.product-media {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .55s var(--ease);
}
@media (hover: hover) {
  .product:hover .product-media img { transform: scale(1.045); }
}

.product-info { min-width: 0; }

.product-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-bottom: 7px;
}
.product-title-row h3 {
  font-size: clamp(17px, 1.6vw, 19px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.01em;
}

.discount {
  display: inline-block;
  padding-block: 4px;
  padding-inline: 10px 8px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 62%, 5% 50%, 0 38%);
}
[dir="rtl"] .discount {
  clip-path: polygon(0 0, 100% 0, 100% 38%, 95% 50%, 100% 62%, 100% 100%, 0 100%);
}

.product-desc {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 30ch;
}

.product-spec {
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--muted);
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

/* variants */
.variant { margin-top: 14px; }
.variant fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.variant-label {
  margin-top: 9px;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.3;
}

.swatches { display: flex; flex-wrap: wrap; gap: 9px; }
.swatch { position: relative; display: block; }
.swatch input,
.choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.swatch label {
  display: block;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--c);
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(16, 19, 24, .18);
  transition: transform .16s var(--ease), box-shadow .16s var(--ease);
}
.swatch label:hover { transform: scale(1.08); }
.swatch input:checked + label {
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--ink);
  transform: scale(.9);
}
.swatch input:focus-visible + label {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.choices { display: flex; flex-wrap: wrap; gap: 6px; }
.choice { position: relative; display: block; }
.choice span {
  display: block;
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-size: 11.5px;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color .16s, color .16s, border-color .16s;
}
.choice span:hover { border-color: var(--ink); }
.choice input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.choice input:focus-visible + span {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

/* price + order */
.product-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}
.price { display: flex; flex-direction: column; gap: 5px; }
.price-now {
  font-family: var(--num);
  font-weight: 800;
  font-size: clamp(1.9rem, 2.6vw, 2.35rem);
  line-height: .92;
  letter-spacing: -.045em;
  font-feature-settings: "tnum" 1;
}
.price-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  line-height: 1;
}
.price-meta s { color: var(--muted); }
.price-meta em {
  font-style: normal;
  color: var(--red);
  font-weight: 500;
}

.btn--order {
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  border-radius: 2px;
  flex: none;
}
.btn--order:hover { background: var(--red); }

/* --------------------------------------------------------------------------
   Gift card bands
   -------------------------------------------------------------------------- */

.band { padding: clamp(54px, 7vw, 92px) 0; }

.band--apple {
  position: relative;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.band--apple::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #6fbf4a 0%, #f5c400 18%, #f29100 36%, #e94b3c 54%, #d05ba9 72%, #5b5bd6 87%, #2aa8e0 100%);
}

.band--steam {
  background: var(--navy);
  color: #edf1f4;
}

.band-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.band--steam .band-visual { order: 2; }
.band--steam .band-copy { order: 1; }

.band-visual { min-width: 0; }

.photo {
  position: relative;
  margin-inline: auto;
  padding: clamp(10px, 1.3vw, 15px);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 12px 16px 40px rgba(16, 19, 24, .10);
}
.photo--apple {
  max-width: 410px;
  transform: rotate(-2deg);
}
[dir="rtl"] .photo--apple { transform: rotate(2deg); }
.photo--steam {
  max-width: 350px;
  transform: rotate(1.5deg);
  border-color: rgba(255, 255, 255, .22);
  box-shadow: 16px 22px 50px rgba(0, 0, 0, .42);
}
[dir="rtl"] .photo--steam { transform: rotate(-1.5deg); }
.photo img { width: 100%; height: auto; }
.photo figcaption {
  margin-top: 9px;
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}
.photo--steam figcaption { color: #7d8b97; }

.photo-tag {
  position: absolute;
  top: -15px;
  inset-inline-start: -16px;
  z-index: 2;
  padding-block: 9px;
  padding-inline: 22px 14px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  transform: rotate(-7deg);
  clip-path: polygon(6% 0, 100% 0, 100% 100%, 6% 100%, 0 50%);
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
}
[dir="rtl"] .photo-tag {
  transform: rotate(7deg);
  clip-path: polygon(94% 0, 100% 50%, 94% 100%, 0 100%, 0 0);
}
.photo-tag::before {
  content: "";
  position: absolute;
  inset-inline-start: 12px;
  top: 50%;
  width: 5px;
  height: 5px;
  margin-top: -2.5px;
  border-radius: 50%;
  background: var(--navy);
}

.band-copy h2 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(2rem, 3.6vw, 3.05rem);
  line-height: 1.14;
  letter-spacing: -.01em;
  margin-bottom: 13px;
}
.band-copy > p {
  max-width: 46ch;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ink-2);
}
.band--steam .band-copy > p { color: rgba(237, 241, 244, .72); }

.tier-head,
.tier {
  display: grid;
  grid-template-columns: 1fr .86fr .82fr .62fr;
  align-items: center;
  gap: 8px;
}

.tier-head {
  margin-top: 26px;
  padding: 0 14px 8px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: .04em;
}
.band--steam .tier-head {
  border-color: rgba(255, 255, 255, .28);
  color: rgba(237, 241, 244, .55);
}

.tiers {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.tier {
  position: relative;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background-color .16s var(--ease), color .16s var(--ease);
}
.band--steam .tier { border-color: rgba(255, 255, 255, .14); }

.tier:hover { background: rgba(16, 19, 24, .035); }
.band--steam .tier:hover { background: rgba(255, 255, 255, .05); }

.tier input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.tier-face {
  font-size: 12px;
  color: var(--muted);
}
.band--steam .tier-face { color: rgba(237, 241, 244, .6); }

.tier-price {
  font-family: var(--num);
  font-weight: 700;
  font-size: 17px;
  line-height: 1;
  letter-spacing: -.02em;
  font-feature-settings: "tnum" 1;
}

.tier-save {
  font-size: 11.5px;
  color: var(--red);
  white-space: nowrap;
}
.band--steam .tier-save { color: #ff9587; }

.tier-off {
  font-size: 11.5px;
  color: var(--muted);
  text-align: end;
  white-space: nowrap;
}
.band--steam .tier-off { color: rgba(237, 241, 244, .55); }

/* selected — light band */
.tier:has(input:checked) { background: var(--ink); color: #fff; }
.tier:has(input:checked) .tier-face { color: rgba(255, 255, 255, .62); }
.tier:has(input:checked) .tier-price { color: #fff; }
.tier:has(input:checked) .tier-save { color: #ff9587; }
.tier:has(input:checked) .tier-off { color: rgba(255, 255, 255, .58); }

/* selected — dark band */
.band--steam .tier:has(input:checked) { background: var(--paper); color: var(--ink); }
.band--steam .tier:has(input:checked) .tier-face { color: var(--muted); }
.band--steam .tier:has(input:checked) .tier-price { color: var(--ink); }
.band--steam .tier:has(input:checked) .tier-save { color: var(--red-deep); }
.band--steam .tier:has(input:checked) .tier-off { color: var(--muted); }

.tier:has(input:focus-visible) {
  outline: 2px solid var(--red);
  outline-offset: -2px;
}

.band-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 20px;
}
.band-cta .btn { min-width: 168px; }
.band-cta p {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.5;
}
.band--steam .band-cta p { color: rgba(237, 241, 244, .6); }

.fineprint {
  margin-top: 13px;
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 52ch;
}
.band--steam .fineprint { color: rgba(237, 241, 244, .5); }

/* --------------------------------------------------------------------------
   How it works
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.step {
  padding-block-start: 24px;
  padding-inline-end: 32px;
  border-inline-end: 1px solid var(--line);
}
.step + .step { padding-inline-start: 32px; }
.step:last-child { border-inline-end: 0; padding-inline-end: 0; }

.step-num {
  font-family: var(--num);
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  letter-spacing: .06em;
  color: var(--red);
}
.step h3 {
  margin: 12px 0 7px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}
.step p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 32ch;
}
.step-time {
  display: inline-block;
  margin-top: 14px;
  font-size: 11px;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .5);
}

/* --------------------------------------------------------------------------
   Trust
   -------------------------------------------------------------------------- */

.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  background: rgba(255, 255, 255, .38);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding-inline-end: 18px;
  border-inline-end: 1px solid var(--line);
}
.trust-item:last-child { border-inline-end: 0; padding-inline-end: 0; }
.trust-item svg {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 2px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.trust-item strong {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.4;
}
.trust-item span {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
}

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

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .66fr) minmax(0, 1.34fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}
.faq-head .section-note {
  margin-top: 14px;
  text-align: start;
  max-width: 28ch;
}
.faq-head .text-link { margin-top: 18px; }

.faq-list { border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 0;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  flex: none;
  font-family: var(--num);
  font-size: 19px;
  font-weight: 500;
  line-height: 1;
  color: var(--muted);
  transition: transform .2s var(--ease);
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list summary:hover { color: var(--red); }
.faq-list details p {
  max-width: 65ch;
  padding-block-end: 18px;
  padding-inline-end: 32px;
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Order panel
   -------------------------------------------------------------------------- */

.order { padding: 0 0 clamp(54px, 7vw, 92px); }

.order-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: 24px 40px;
  align-items: end;
  padding: clamp(26px, 4vw, 54px);
  background: var(--ink);
  color: #fff;
  border-radius: 3px;
}

.order-copy h2 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -.01em;
  margin-bottom: 12px;
}
.order-copy p {
  max-width: 42ch;
  font-size: 13px;
  line-height: 1.85;
  color: rgba(255, 255, 255, .68);
}

.order-actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.order-actions .btn { width: 100%; }

.order-contact {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: 11.5px;
  color: rgba(255, 255, 255, .55);
}
.order-contact a { text-decoration: none; }
.order-contact a b {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, .32);
}
.order-contact a:hover b {
  text-decoration-color: #fff;
}
.order-contact b {
  font-family: var(--num);
  font-weight: 600;
  color: #fff;
  letter-spacing: .01em;
}

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

.footer {
  padding: 30px 0 80px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  line-height: 1.85;
  color: var(--muted);
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  font-size: 11.5px;
}
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.brand--footer .brand-mark { width: 24px; height: 24px; }
.brand--footer .brand-name { font-size: 18px; }
.footer-notes { max-width: 94ch; }
.footer-notes p { margin-bottom: 7px; }

/* --------------------------------------------------------------------------
   Mobile sticky CTA
   -------------------------------------------------------------------------- */

.mobile-cta {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 65;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform .28s var(--ease), visibility .28s;
}
.mobile-cta.is-visible { transform: none; visibility: visible; }
.mobile-cta-copy { display: flex; flex-direction: column; line-height: 1.35; }
.mobile-cta-copy strong { font-size: 14px; }
.mobile-cta-copy span { font-size: 10.5px; color: var(--muted); }
.mobile-cta .btn { padding: 12px 20px; font-size: 13px; }

/* --------------------------------------------------------------------------
   Dialog
   -------------------------------------------------------------------------- */

.order-dialog {
  width: min(470px, calc(100% - 28px));
  max-height: min(88vh, 720px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 32px 90px rgba(10, 12, 16, .3);
  overflow: auto;
}
.order-dialog::backdrop {
  background: rgba(12, 15, 19, .55);
  backdrop-filter: blur(3px);
}
.order-dialog[open] { animation: dialog-in .24s var(--ease); }

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(10px) scale(.985); }
  to { opacity: 1; transform: none; }
}

.dialog-inner {
  position: relative;
  padding: clamp(22px, 4vw, 30px);
}
.dialog-close {
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition: border-color .18s, color .18s;
}
.dialog-close:hover { border-color: var(--ink); color: var(--ink); }
.dialog-close svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}

.dialog-kicker {
  font-size: 11px;
  color: var(--muted);
  line-height: 1;
  margin-bottom: 10px;
}
.order-dialog h2 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 1.6rem;
  line-height: 1.25;
  padding-right: 32px;
}
.dialog-spec {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--muted);
  min-height: 1em;
}
.dialog-price {
  margin-top: 16px;
  font-family: var(--num);
  font-weight: 800;
  font-size: 2.5rem;
  line-height: .95;
  letter-spacing: -.045em;
}
[dir="rtl"] .dialog-price { text-align: right; }
.dialog-meta {
  margin-top: 7px;
  font-size: 11.5px;
  color: var(--red);
}

.dialog-summary {
  margin-top: 18px;
  padding: 12px 14px;
  background: var(--paper);
  border-inline-start: 2px solid var(--red);
}
.dialog-summary-label {
  display: block;
  font-size: 10.5px;
  color: var(--muted);
  margin-bottom: 4px;
}
.dialog-summary code {
  display: block;
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink);
  word-break: break-word;
  font-feature-settings: "tnum" 1;
}

.dialog-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
}
.dialog-actions .btn { width: 100%; }
.dialog-feedback {
  min-height: 1.2em;
  margin-top: 9px;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--red);
}
.dialog-note {
  margin-top: 16px;
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
}

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

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 120;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  font-size: 12.5px;
  border-radius: 2px;
  transform: translate(-50%, 12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

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

.hero-copy > * {
  animation: rise .85s var(--ease) both;
}
.hero-copy h1 { animation-delay: .04s; }
.hero-lead { animation-delay: .13s; }
.hero-actions { animation-delay: .2s; }
.hero-meta { animation-delay: .26s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .hero-stage { padding: 0; }
  .hero-tag { inset-inline-end: -2%; }
}

@media (max-width: 940px) {
  .price-sheet { grid-template-columns: minmax(0, 1fr); }
  .product-main { grid-template-columns: minmax(0, 150px) minmax(0, 1fr); }
  .hero h1 { font-size: clamp(2.5rem, 5.6vw, 3.6rem); }
  .hero-label { bottom: 2%; }
  .section-head { align-items: flex-start; }
  .section-note { text-align: start; max-width: 40ch; }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }
  .hero-copy { max-width: 620px; }
  .hero-stage {
    max-width: 500px;
    width: 100%;
    margin-inline: auto;
  }
  .hero h1 { font-size: clamp(2.7rem, 8vw, 4rem); }
  .hero-lead { max-width: 48ch; }
  .band-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .band--steam .band-visual,
  .band--steam .band-copy { order: initial; }
  .band--steam .band-visual { order: 1; }
  .band--steam .band-copy { order: 2; }
  .photo--steam { max-width: 320px; }
  .photo--apple { max-width: 360px; }
  .band-copy > p { max-width: 52ch; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .faq-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
  .faq-head .section-note { margin-top: 0; }
  .faq-head .text-link { margin-top: 0; }
}

@media (max-width: 1080px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 20px 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 32px rgba(16, 19, 24, .10);
    margin-inline-start: 0;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    padding: 13px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--line);
  }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav a::after { display: none; }
  .site-nav .nav-order {
    display: flex;
    justify-content: center;
    margin-top: 14px;
    padding: 12px 16px;
    background: var(--ink);
    color: #fff;
    border-bottom: 0;
    border-radius: 2px;
  }
  .site-nav .nav-order:hover { background: var(--red); color: #fff; }
  .menu-btn { display: inline-flex; }
}

@media (max-width: 860px) {
  .mobile-cta { display: flex; }
  .footer { padding-bottom: 100px; }
  .toast { bottom: 82px; }
  .order { padding-bottom: 40px; }
}

@media (max-width: 760px) {
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .section-note {
    text-align: start;
    max-width: 46ch;
  }
  .faq-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer-top {
    flex-wrap: wrap;
    gap: 14px;
  }
  .footer-links { width: 100%; }

  .steps { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .step {
    padding: 20px 0;
    border-inline-end: 0;
    border-top: 1px solid var(--line);
  }
  .step + .step { padding-inline-start: 0; }
  .step p { max-width: 46ch; }
  .step-time { margin-top: 10px; }

  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .trust-item:nth-child(2) { border-inline-end: 0; padding-inline-end: 0; }
  .trust-item:nth-child(-n+2) { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
  .trust-item:nth-child(3) { padding-bottom: 0; }

  .order-panel { grid-template-columns: minmax(0, 1fr); }
  .order-actions { flex-direction: row; flex-wrap: wrap; }
  .order-actions .btn { width: auto; flex: 1 1 180px; }
  .order-contact { margin-top: 4px; }

  .subnav-note { display: none; }
  .subnav-links {
    width: 100%;
    gap: 22px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .subnav-links::-webkit-scrollbar { display: none; }
  .subnav-links a { white-space: nowrap; }

  .hero { padding-top: 30px; }
  .hero-meta { margin-top: 20px; font-size: 11.5px; }
  .hero-meta li + li::before { margin: 0 10px; }

  .product-foot { align-items: center; }
}

@media (max-width: 560px) {
  :root { --header-h: 60px; }

  .header-actions { gap: 7px; }
  .lang-switch { height: 36px; padding: 0 5px; }
  .lang-switch select { max-width: 78px; font-size: 11.5px; }
  .header-cta { display: none; }
  .brand-name { font-size: 19px; }
  .brand-sub { font-size: 7px; letter-spacing: .16em; }

  .hero-label { padding: 10px 12px; inset-inline-start: 0; bottom: 0; box-shadow: 4px 4px 0 rgba(16, 19, 24, .07); }
  .hero-label-price b { font-size: 1.45rem; }
  .hero-label-name { font-size: 10.5px; }
  .hero-label-off { font-size: 10.5px; }

  .hero-tag { top: 0; inset-inline-end: 0; padding-block: 12px 13px; padding-inline: 28px 16px; min-width: 112px; }
  .hero-tag::before { inset-inline-start: 18px; width: 6px; height: 6px; margin-top: -3px; }
  .hero-tag span { font-size: 10px; }
  .hero-tag strong { font-size: 1.3rem; }

  .product { padding: 16px; gap: 14px; }
  .product-main { grid-template-columns: minmax(0, 34%) minmax(0, 1fr); gap: 14px; }
  .product-desc { font-size: 12px; }
  .product-spec { font-size: 11px; }
  .product-title-row h3 { font-size: 16.5px; }
  .discount { font-size: 10px; padding-block: 3px; padding-inline: 9px 6px; }
  .price-now { font-size: 1.85rem; }
  .btn--order { padding: 9px 13px; font-size: 12.5px; }

  .photo--apple, .photo--steam { max-width: 300px; }
  .band-copy h2 { font-size: 1.9rem; }
  .tier { padding: 12px 10px; }
  .tier-head { padding: 0 10px 7px; font-size: 10px; }
  .tier-price { font-size: 15px; }
  .tier-save, .tier-off { font-size: 10.5px; }
  .tier-face { font-size: 11px; }
  .band-cta .btn { min-width: 0; width: 100%; }
  .band-cta { gap: 9px; }
  .band-cta p { font-size: 11px; }

  .footer { font-size: 11px; }
  .order-copy h2 { font-size: 2rem; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 2.35rem; }
  .hero-label { transform: rotate(-2deg) scale(.94); transform-origin: left bottom; }
  [dir="rtl"] .hero-label { transform: rotate(2deg) scale(.94); transform-origin: right bottom; }
  .product-main { grid-template-columns: minmax(0, 96px) minmax(0, 1fr); }
  .product-title-row { gap: 6px; }
  .product-desc { line-height: 1.6; }
  .tier-head, .tier { grid-template-columns: 1fr .8fr .78fr .58fr; gap: 5px; }
}

/* Latin headline sizing (longer words than Chinese) */
html:lang(en) .hero h1,
html:lang(fr) .hero h1,
html:lang(pt) .hero h1,
html:lang(ms) .hero h1 {
  font-size: clamp(2.4rem, 4.1vw, 3.7rem);
  letter-spacing: -.02em;
}

html:lang(fr) .hero h1 { font-size: clamp(2.3rem, 3.8vw, 3.35rem); }
html:lang(ms) .hero h1 { font-size: clamp(2.3rem, 3.8vw, 3.2rem); }
html:lang(ja) .hero h1,
html:lang(ko) .hero h1 { font-size: clamp(2.3rem, 4vw, 3.45rem); }

/* Arabic: connected script, taller lines */
html:lang(ar) .hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.85rem);
  line-height: 1.4;
  letter-spacing: 0;
}
html:lang(ar) .hero-offer { letter-spacing: 0; }
html:lang(ar) .section-title,
html:lang(ar) .band-copy h2,
html:lang(ar) .order-copy h2,
html:lang(ar) .order-dialog h2 {
  line-height: 1.4;
  letter-spacing: 0;
}
html:lang(ar) .step h3,
html:lang(ar) .product-title-row h3 { letter-spacing: 0; }
html:lang(ar) .hero-lead { line-height: 1.95; }
html:lang(ar) .band-copy > p,
html:lang(ar) .order-copy p { line-height: 1.9; }
html:lang(ar) .tier-head { letter-spacing: 0; }
html:lang(ar) .brand-mark { transform: scaleX(-1); }
html:lang(ar) .site-nav a { letter-spacing: 0; }

@media (min-width: 901px) and (max-width: 1200px) {
  html:lang(fr) .hero h1 { font-size: clamp(2.2rem, 3.4vw, 3rem); }
}

@media (max-width: 900px) {
  html:lang(en) .hero h1,
  html:lang(fr) .hero h1,
  html:lang(pt) .hero h1,
  html:lang(ms) .hero h1 {
    font-size: clamp(2.05rem, 7vw, 3.1rem);
  }
  html:lang(ar) .hero h1 {
    font-size: clamp(2.05rem, 6.4vw, 3.3rem);
  }
  html:lang(fr) .hero h1 { font-size: clamp(1.85rem, 6.2vw, 2.8rem); }
  html:lang(ms) .hero h1 { font-size: clamp(1.85rem, 6vw, 2.7rem); }
  html:lang(ja) .hero h1,
  html:lang(ko) .hero h1 { font-size: clamp(1.78rem, 5.8vw, 3rem); }
}

html:lang(ko) p,
html:lang(ko) li,
html:lang(ko) summary { word-break: keep-all; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
