/*! QWORD — built 2026 */
/* Design tokens — brand orange from logo.png, neutral grays for structure. */
:root {
  --brand: #ff5a1f;
  --brand-600: #ea4a0e;
  --brand-700: #c23a09;
  --brand-50: #fff5f0;
  --brand-100: #ffe6da;
  --brand-200: #ffc9b0;

  --ink: #15171c;
  --ink-2: #343a44;
  --muted: #697285;
  --muted-2: #8a93a3;
  --line: #e8eaf0;
  --line-2: #f1f3f7;
  --bg: #ffffff;
  --tint: #fafbfc;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-full: 999px;

  --sh-sm: 0 1px 2px rgba(21, 23, 28, 0.06);
  --sh-md: 0 6px 20px rgba(21, 23, 28, 0.07);
  --sh-lg: 0 18px 50px rgba(21, 23, 28, 0.12);
  --sh-brand: 0 12px 30px rgba(255, 90, 31, 0.28);

  --sp-section: clamp(56px, 7vw, 104px);
  --gutter: clamp(20px, 4vw, 32px);
  --maxw: 1200px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC',
    'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Reset + base typography */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
}

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

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

button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.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: absolute; top: -60px; left: 16px; z-index: 200;
  padding: 10px 16px; background: var(--ink); color: #fff; border-radius: var(--r-sm);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* Containers, sections, grids */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--narrow { max-width: 820px; }

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

.section-head { margin-bottom: clamp(32px, 4vw, 52px); }
.section-head--center { text-align: center; }
.section-head--left { text-align: left; }

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.section-title { font-size: clamp(26px, 3.4vw, 40px); }

.section-sub {
  margin-top: 14px;
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--muted);
  max-width: 62ch;
}
.section-head--center .section-sub { margin-inline: auto; }

.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
/* Explicit counts, not auto-fit — avoids a stranded 4th card at mid widths. */
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .grid--4 { grid-template-columns: 1fr; } }

.prose { font-size: clamp(16px, 1.5vw, 18px); color: var(--ink-2); line-height: 1.85; }

main { display: block; }

/* Sticky header, mega-menu, language switcher, mobile drawer */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 20px; height: 68px; }

.brand { display: flex; align-items: center; flex: none; }
.brand__logo { height: 30px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 9px 14px; border-radius: var(--r-sm);
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}
.nav__link:hover { color: var(--ink); background: var(--line-2); }
.nav__link.is-active { color: var(--brand); }
.nav__group { position: relative; }

.mega {
  position: absolute; top: calc(100% + 10px); left: 0;
  display: grid; grid-template-columns: repeat(2, minmax(240px, 1fr)); gap: 4px;
  width: 560px; padding: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
}
.nav__group:hover .mega,
.nav__group:focus-within .mega,
.nav__group.is-open .mega { opacity: 1; visibility: visible; transform: translateY(0); }

.menu-item { display: flex; gap: 12px; padding: 12px; border-radius: var(--r-md); transition: background 0.16s var(--ease); }
.menu-item:hover { background: var(--brand-50); }
.menu-item__icon {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px;
  border-radius: 10px; background: var(--brand-50); color: var(--brand);
}
.menu-item__body { display: flex; flex-direction: column; gap: 2px; }
.menu-item__title { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.menu-item__text { font-size: 12.5px; line-height: 1.5; color: var(--muted); }

.site-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 10px; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: color 0.16s var(--ease), background 0.16s var(--ease);
}
.lang__btn:hover { color: var(--ink); background: var(--line-2); }
.lang__list {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 130px; padding: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--sh-md);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.16s var(--ease), transform 0.16s var(--ease), visibility 0.16s;
}
.lang:hover .lang__list,
.lang:focus-within .lang__list,
.lang.is-open .lang__list { opacity: 1; visibility: visible; transform: translateY(0); }
.lang__list a { display: block; padding: 9px 12px; border-radius: var(--r-sm); font-size: 14px; }
.lang__list a:hover { background: var(--brand-50); color: var(--brand); }

.burger { display: none; padding: 8px; border-radius: var(--r-sm); color: var(--ink); }
.burger:hover { background: var(--line-2); }

.drawer {
  position: fixed; inset: 68px 0 0; z-index: 90;
  background: #fff; overflow-y: auto;
  border-top: 1px solid var(--line);
}
.drawer[hidden] { display: none; }
.drawer__inner { display: flex; flex-direction: column; gap: 4px; padding: 20px var(--gutter) 48px; }
.drawer__label {
  margin: 14px 0 6px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2);
}
.drawer__link {
  padding: 13px 12px; border-radius: var(--r-md);
  font-size: 16px; font-weight: 500; color: var(--ink);
}
.drawer__link:hover { background: var(--brand-50); color: var(--brand); }
.drawer .btn--block { margin-top: 20px; }
body.is-locked { overflow: hidden; }

/* Buttons, cards, icons, pills */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--r-full);
  font-size: 15px; font-weight: 600; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.16s var(--ease), background 0.16s var(--ease),
    border-color 0.16s var(--ease), box-shadow 0.16s var(--ease), color 0.16s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--lg { padding: 14px 26px; font-size: 16px; }
.btn--block { width: 100%; }

.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--sh-brand); }
.btn--primary:hover { background: var(--brand-600); }

.btn--light { background: #fff; color: var(--brand-700); box-shadow: 0 10px 26px rgba(21, 23, 28, 0.16); }
.btn--light:hover { background: var(--brand-50); }

.btn--ghost-light { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.22); border-color: #fff; }

.btn--outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--brand); color: var(--brand); }

.icon { width: 22px; height: 22px; flex: none; }
.icon--sm { width: 18px; height: 18px; }
.icon--xs { width: 15px; height: 15px; }

.card {
  position: relative;
  display: flex; flex-direction: column; gap: 10px;
  padding: clamp(20px, 2.4vw, 28px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.card:hover { transform: translateY(-3px); border-color: var(--brand-200); box-shadow: var(--sh-md); }
.card__icon {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 4px;
  border-radius: 12px; background: var(--brand-50); color: var(--brand);
}
.card__title { font-size: 17px; font-weight: 650; }
.card__text { font-size: 14.5px; line-height: 1.65; color: var(--muted); }
.card__link { margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--brand); }
.card__link:hover { text-decoration: underline; }

.card--product { padding-right: 52px; }
.card__more {
  position: absolute; top: 24px; right: 22px;
  color: var(--muted-2);
  transition: transform 0.2s var(--ease), color 0.2s var(--ease);
}
.card--product:hover .card__more { transform: translateX(4px); color: var(--brand); }

.card--solution { gap: 12px; }
.card--case { border-left: 3px solid var(--brand-200); }
.card--channel { text-align: left; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: var(--r-full);
  background: var(--brand-50); border: 1px solid var(--brand-100);
  font-size: 13px; font-weight: 500; color: var(--brand-700);
  transition: background 0.16s var(--ease), border-color 0.16s var(--ease);
}
.pill:hover { background: var(--brand-100); border-color: var(--brand-200); }

.crumb { padding: 18px 0; border-bottom: 1px solid var(--line-2); font-size: 13.5px; color: var(--muted); }
.crumb a { color: var(--muted); transition: color 0.16s var(--ease); }
.crumb a:hover { color: var(--brand); }
.crumb__sep { margin: 0 8px; color: var(--line); }
.crumb [aria-current='page'] { color: var(--ink-2); font-weight: 500; }

.callout {
  margin-top: 32px; padding: 22px 24px;
  background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: var(--r-lg);
}
.callout__title { font-size: 16px; margin-bottom: 6px; }
.callout p { font-size: 14.5px; color: var(--ink-2); }

.card__list {
  display: flex; flex-direction: column; gap: 8px; margin-top: 10px; padding-top: 12px;
  border-top: 1px solid var(--line-2);
}
.card__list li { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.card__list .icon { margin-top: 2px; color: var(--brand); }

/* Orange hero band + product page hero */
.hero {
  position: relative; overflow: hidden;
  background: var(--brand);
  color: #fff;
}
.hero__inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px); align-items: center;
  padding: clamp(56px, 7vw, 96px) var(--gutter) clamp(64px, 8vw, 104px);
}

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; margin-bottom: 22px; border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 13.5px; font-weight: 600;
}

/* Two lines by design: title + accent. Capped so neither wraps to a third. */
.hero__title {
  color: #fff;
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.hero__title-accent { display: block; font-weight: 600; color: rgba(255, 255, 255, 0.82); }

.hero__lead {
  margin-top: 22px; max-width: 46ch;
  font-size: clamp(16px, 1.6vw, 19px); line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

.hero__points {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 22px; margin-top: 30px;
}
.hero__points li { display: flex; align-items: flex-start; gap: 9px; font-size: 14.5px; font-weight: 500; }
.hero__points .icon { margin-top: 2px; color: rgba(255, 255, 255, 0.88); }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__note { margin-top: 16px; font-size: 13.5px; color: rgba(255, 255, 255, 0.78); }

/* Editor mock-up — CSS only, no image request */
.mock {
  border-radius: var(--r-xl); overflow: hidden;
  background: #1b1e24; box-shadow: 0 30px 70px rgba(90, 26, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.mock__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #23262e; }
.mock__dot { width: 10px; height: 10px; border-radius: 50%; background: #4b5060; }
.mock__dot:first-child { background: #ff5f57; }
.mock__url {
  margin-left: 12px; padding: 4px 14px; border-radius: var(--r-full);
  background: #191c22; font-size: 11.5px; color: #9aa3b2;
}
.mock__body { display: grid; grid-template-columns: 46px 1fr 118px; height: clamp(260px, 30vw, 340px); }
.mock__tools {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 16px 0; background: #22252c; color: #8d95a5;
}
.mock__tool { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; }
.mock__tool:nth-child(1) { background: rgba(255, 90, 31, 0.22); color: var(--brand); }

.mock__canvas {
  position: relative; display: grid; place-items: center; padding: 22px;
  background: #2a2e37 repeating-conic-gradient(#31353f 0% 25%, #2a2e37 0% 50%) 0 0 / 18px 18px;
}
.mock__art {
  width: 76%; height: 74%; border-radius: 14px;
  background: var(--brand);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32);
}
.mock__marquee {
  position: absolute; inset: 24% 22% 30% 24%;
  border: 1.5px dashed rgba(255, 255, 255, 0.85); border-radius: 6px;
}

.mock__panel { padding: 14px 12px; background: #22252c; }
.mock__layer {
  display: flex; align-items: center; gap: 8px; padding: 6px;
  border-radius: 6px; font-size: 10.5px; color: #9aa3b2;
}
.mock__layer.is-active { background: rgba(255, 90, 31, 0.18); color: #ffcdb4; }
.mock__thumb { width: 16px; height: 16px; border-radius: 3px; background: var(--brand); }
.mock__slider { height: 4px; margin: 16px 6px 0; border-radius: var(--r-full); background: #33374180; }
.mock__slider span { display: block; width: 62%; height: 100%; border-radius: inherit; background: var(--brand); }
.mock__slider--alt span { width: 38%; background: #6b7280; }

/* Product / page hero */
/* overflow stays visible so the QR zoom popover can escape the hero band.
   (The clipped glow element this used to hide is gone.) */
.phero {
  position: relative; text-align: center;
  background: var(--brand);
  color: #fff;
}
.phero__inner { position: relative; padding: clamp(52px, 6.5vw, 88px) var(--gutter); }
.phero--slim .phero__inner { padding: clamp(44px, 5vw, 68px) var(--gutter); }
.phero__icon {
  display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 20px;
  border-radius: 15px; background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.3);
}
.phero__title { color: #fff; font-size: clamp(28px, 4vw, 46px); font-weight: 800; letter-spacing: -0.025em; }
.phero__lead {
  margin: 18px auto 0; max-width: 60ch;
  font-size: clamp(15.5px, 1.5vw, 18px); color: rgba(255, 255, 255, 0.9);
}
.phero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.phero__note { margin-top: 16px; font-size: 13.5px; color: rgba(255, 255, 255, 0.78); }

﻿/* Comparison table, stats, steps, FAQ, plans, timeline, form, CTA band */
.cmp { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.cmp__table { width: 100%; border-collapse: collapse; min-width: 620px; }
.cmp__table th,
.cmp__table td { padding: 16px 20px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--line-2); }
.cmp__table thead th { font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.cmp__table tbody tr:last-child th,
.cmp__table tbody tr:last-child td { border-bottom: 0; }
.cmp__rowhead { width: 96px; color: var(--ink); font-weight: 600; white-space: nowrap; }
.cmp__new { background: var(--brand-50); }
.cmp__table thead .cmp__new { color: var(--brand-700); }
.cmp__old { display: inline-flex; align-items: flex-start; gap: 8px; color: var(--muted); }
.cmp__old .icon { margin-top: 3px; color: var(--muted-2); }
.cmp__good { display: inline-flex; align-items: flex-start; gap: 8px; color: var(--ink); font-weight: 500; }
.cmp__good .icon { margin-top: 3px; color: var(--brand); }


.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(20px, 2.6vw, 32px); counter-reset: s; }
.steps__item { position: relative; padding-top: 12px; }
.steps__num {
  display: block; margin-bottom: 12px;
  font-size: 34px; font-weight: 800; letter-spacing: -0.03em;
  color: var(--brand-200);
}
.steps__title { font-size: 18px; margin-bottom: 8px; }
.steps__text { font-size: 14.5px; color: var(--muted); }

.faq { display: flex; flex-direction: column; gap: 10px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.faq__item[open] { border-color: var(--brand-200); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 17px 20px; cursor: pointer; list-style: none;
  font-size: 15.5px; font-weight: 600; color: var(--ink);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__mark { color: var(--muted-2); transition: transform 0.2s var(--ease), color 0.2s var(--ease); }
.faq__item[open] .faq__mark { transform: rotate(180deg); color: var(--brand); }
.faq__a { padding: 0 20px 18px; }
.faq__a p { font-size: 14.5px; color: var(--muted); line-height: 1.7; }


.timeline { display: flex; flex-direction: column; gap: 4px; border-left: 2px solid var(--line); padding-left: 26px; }
.timeline__item { position: relative; padding: 14px 0; }
.timeline__item::before {
  content: ''; position: absolute; left: -33px; top: 22px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--brand); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--brand-200);
}
.timeline__year { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; color: var(--brand); margin-bottom: 4px; }
.timeline__item p { font-size: 15px; color: var(--ink-2); }

.form { display: flex; flex-direction: column; gap: 16px; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.form__field { display: flex; flex-direction: column; gap: 7px; }
.form__field span { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.form__field input,
.form__field textarea {
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: #fff; font-size: 15px; resize: vertical;
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.form__field input:focus,
.form__field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
.form .btn { align-self: flex-start; }
.form__hint { font-size: 13.5px; color: var(--muted); }
.form__notice { font-size: 12.5px; color: var(--muted-2); }

.cta-band { background: var(--brand); color: #fff; text-align: center; }
.cta-band__inner { padding: clamp(48px, 6vw, 76px) var(--gutter); }
.cta-band__title { color: #fff; font-size: clamp(24px, 3vw, 36px); font-weight: 800; letter-spacing: -0.025em; }
.cta-band__text { margin: 14px auto 0; max-width: 54ch; font-size: clamp(15px, 1.4vw, 17px); color: rgba(255, 255, 255, 0.9); }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.cta-band__note { margin-top: 16px; font-size: 13px; color: rgba(255, 255, 255, 0.75); }

/* Trust band, testimonials, awards, app channel chooser, badges */
.trust { background: var(--ink); color: #fff; }
.trust__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px; padding: clamp(30px, 3.6vw, 46px) var(--gutter);
}
.trust__item { display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center; }
.trust__icon { color: var(--brand); margin-bottom: 2px; }
.trust__value { font-size: clamp(24px, 2.8vw, 34px); font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.trust__label { font-size: 13px; color: rgba(255, 255, 255, 0.66); }

.quote {
  display: flex; flex-direction: column; gap: 14px; margin: 0;
  padding: clamp(22px, 2.4vw, 28px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
}
/* Rating gold — the tone Taobao/JD/Amazon use, kept clear of the brand orange.
   flex + align-items forces a single row; base CSS sets svg to display:block. */
.stars {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 3px;
  line-height: 1;
  color: #ff9900;
}
.stars .icon { flex: none; }
.quote__text { margin: 0; font-size: 15px; line-height: 1.75; color: var(--ink-2); }
.quote__by { display: flex; flex-direction: column; gap: 2px; margin-top: auto; padding-top: 6px; }
.quote__by strong { font-size: 14.5px; color: var(--ink); }
.quote__by span { font-size: 13px; color: var(--muted-2); }

/* "What free means" cards */
.promise {
  display: flex; flex-direction: column; gap: 10px;
  padding: clamp(22px, 2.4vw, 28px);
  background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: var(--r-lg);
}
.promise__icon {
  display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 4px;
  border-radius: 12px; background: #fff; color: var(--brand); border: 1px solid var(--brand-100);
}
.promise__title { font-size: 17px; font-weight: 650; }
.promise__text { font-size: 14.5px; line-height: 1.65; color: var(--ink-2); }

/* App entry points inside the orange product hero — solid, high-contrast. */
.hchan {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch;
  gap: 16px; margin-top: 32px;
}

/* iOS: a real button, white on orange so it reads as the primary action. */
.hchan__btn {
  display: inline-flex; align-items: center; gap: 12px; text-align: left;
  padding: 14px 26px; border-radius: var(--r-full);
  background: #fff; color: var(--brand-700);
  box-shadow: 0 10px 26px rgba(21, 23, 28, 0.18);
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease), background 0.16s var(--ease);
}
.hchan__btn:hover {
  transform: translateY(-2px);
  background: var(--brand-50);
  box-shadow: 0 14px 32px rgba(21, 23, 28, 0.24);
}
.hchan__btn .icon { flex: none; }
.hchan__label { display: flex; flex-direction: column; gap: 1px; }
.hchan__label b { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.hchan__label span { font-size: 12px; opacity: 0.75; }

/* WeChat: the QR itself is the affordance — white card, code at scannable size. */
.hchan__qrcard {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  padding: 12px 18px 12px 12px; border-radius: var(--r-lg);
  background: #fff; box-shadow: 0 10px 26px rgba(21, 23, 28, 0.18);
  color: var(--ink);
  cursor: zoom-in;
}
/* Square is locked in three ways so no flex/grid parent can ever stretch the
   code: fixed box, explicit aspect-ratio, and object-fit as the backstop. */
.hchan__qr {
  flex: none;
  width: 82px; height: 82px;
  max-width: none;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}
.hchan__qr--empty {
  display: grid; place-items: center; padding: 6px;
  border: 1px dashed var(--line); background: var(--tint);
  font-size: 10.5px; line-height: 1.3; text-align: center; color: var(--muted-2);
}
.hchan__qrtext { display: flex; flex-direction: column; gap: 3px; text-align: left; }
.hchan__qrtext b { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: var(--ink); }
.hchan__qrtext b .icon { color: #07c160; }
.hchan__qrtext span { font-size: 12.5px; color: var(--muted); }

/* Hover/focus zoom: a floating card with the code at scannable size.
   Sits above the trigger and is pointer-transparent so it cannot trap hover. */
/* Width must be explicit. As an absolutely-positioned box with left:50% this
   would otherwise shrink-to-fit the space left inside the card (~125px), and
   the global `img { max-width: 100% }` would squash the code to that width
   while its fixed height stayed 230px — narrow and tall. */
.hchan__zoom {
  position: absolute; bottom: calc(100% + 12px); left: 50%;
  box-sizing: border-box;
  width: 286px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 16px 28px 14px; border-radius: var(--r-lg);
  background: #fff; box-shadow: 0 18px 44px rgba(21, 23, 28, 0.28);
  opacity: 0; visibility: hidden;
  transform: translateX(-50%) translateY(6px) scale(0.94);
  transform-origin: bottom center;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
  pointer-events: none;
  z-index: 20;
}
/* 230px against a 460px file — an exact 2:1 downscale, which keeps the fine
   radial dashes even. No border-radius: it would clip the code's corners. */
/* max-width:none defeats the global `img { max-width: 100% }`, which would
   otherwise clamp the width while height stayed fixed. */
.hchan__zoom img {
  flex: none;
  width: 230px; height: 230px;
  max-width: none;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
}
.hchan__zoomcap {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--ink);
}
.hchan__zoomcap .icon { color: #07c160; }

/* Little arrow tying the popover to the card. */
.hchan__zoom::after {
  content: ''; position: absolute; top: 100%; left: 50%;
  margin-left: -7px; border: 7px solid transparent; border-top-color: #fff;
}

/* Hint text swaps by input type: hover devices scan, phones long-press. */
.hchan__hint--mobile { display: none; }

/* Pointer devices only — a tap must not fire a hover popover, and no phone can
   scan its own screen. */
@media (hover: hover) and (pointer: fine) {
  .hchan__qrcard:hover .hchan__zoom,
  .hchan__qrcard:focus-visible .hchan__zoom {
    opacity: 1; visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

/*
 * Touch devices: tap the card to open a full-screen modal with the QR large
 * enough to long-press (WeChat browser recognises it; elsewhere save → scan
 * from album). The hover popover is hidden on touch.
 */
@media (hover: none), (pointer: coarse) {
  .hchan__zoom { display: none; }
  .hchan__hint--desktop { display: none; }
  .hchan__hint--mobile { display: inline; }

  .hchan { gap: 12px; }
  .hchan__btn,
  .hchan__qrcard { width: 100%; max-width: 340px; }

  .hchan__qrcard { cursor: pointer; }
  .hchan__btn { justify-content: center; }
}

/* Full-screen QR modal for mobile taps. */
.hchan__modal {
  position: fixed; inset: 0; z-index: 100;
  display: none; place-items: center;
  background: rgba(0, 0, 0, 0.88);
  animation: fadeIn 0.2s var(--ease);
}
.hchan__modal[aria-hidden="false"] { display: grid; }

.hchan__modal-close {
  position: absolute; top: 20px; right: 20px;
  display: grid; place-items: center;
  width: 44px; height: 44px; padding: 0; border: none; border-radius: 50%;
  background: rgba(255, 255, 255, 0.14); color: #fff;
  cursor: pointer;
  transition: background 0.16s var(--ease), transform 0.16s var(--ease);
}
.hchan__modal-close:hover { background: rgba(255, 255, 255, 0.24); transform: scale(1.08); }
.hchan__modal-close .icon { width: 24px; height: 24px; }

.hchan__modal-body {
  box-sizing: border-box;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 24px; width: min(88vw, 372px);
  background: #fff; border-radius: var(--r-lg);
  animation: slideUp 0.24s var(--ease);
}
/* Sized off the card, not the viewport, so the padding is already accounted
   for and `max-width: 100%` can never clamp width while height stays fixed. */
.hchan__modal-body img {
  width: 100%; height: auto;
  max-width: none;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}
.hchan__modal-body p {
  display: flex; align-items: center; gap: 8px; margin: 0;
  font-size: 15px; font-weight: 600; color: var(--ink);
}
.hchan__modal-body p .icon { color: #07c160; }

@keyframes fadeIn {
  from { opacity: 0; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
}

.badge {
  display: inline-flex; align-items: center; gap: 4px; vertical-align: middle;
  margin-left: 8px; padding: 3px 9px; border-radius: var(--r-full);
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.02em;
}
.badge--free { background: var(--brand-50); color: var(--brand-700); border: 1px solid var(--brand-100); }

.phero__badge {
  display: inline-flex; align-items: center; gap: 6px;
  margin-bottom: 16px; padding: 6px 14px; border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.34);
  font-size: 13px; font-weight: 700;
}

/* Footer */
.site-footer { background: var(--tint); border-top: 1px solid var(--line); }
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) repeat(4, minmax(130px, 1fr));
  gap: clamp(28px, 3.4vw, 44px);
  padding: clamp(44px, 5vw, 68px) var(--gutter) clamp(32px, 3.6vw, 44px);
}
.site-footer__brand { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.site-footer__tagline { font-size: 14px; line-height: 1.7; color: var(--muted); max-width: 34ch; }
.site-footer__mail { font-size: 14px; font-weight: 600; color: var(--brand); }
.site-footer__mail:hover { text-decoration: underline; }

.site-footer__title {
  margin-bottom: 14px; font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink);
}
.site-footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.site-footer__col a { font-size: 14px; color: var(--muted); transition: color 0.16s var(--ease); }
.site-footer__col a:hover { color: var(--brand); }

.site-footer__bottom {
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  padding: 20px var(--gutter) 28px;
  border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted-2);
}

/* Responsive: tablet -> phone */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; }
  /* Headline stays first; the mock-up follows below it. */
  .hero__visual { width: 100%; max-width: 620px; margin-inline: auto; }
  .hero__points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: grid; place-items: center; }
  .site-header__actions .btn--primary { display: none; }
  .trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
}

@media (max-width: 720px) {
  .hero__title { font-size: clamp(30px, 8.5vw, 40px); }
  .hero__points { grid-template-columns: 1fr; gap: 10px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .mock__body { grid-template-columns: 40px 1fr; }
  .mock__panel { display: none; }

  /* Comparison table becomes stacked cards */
  .cmp { border: 0; overflow: visible; background: none; }
  .cmp__table { min-width: 0; }
  .cmp__table thead { display: none; }
  .cmp__table tbody tr {
    display: block; margin-bottom: 12px; padding: 6px 0;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  }
  .cmp__table tbody th,
  .cmp__table tbody td { display: block; border-bottom: 0; padding: 8px 18px; }
  .cmp__rowhead { width: auto; padding-top: 14px; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--brand); }
  .cmp__table tbody td { position: relative; padding-left: 18px; }
  .cmp__table tbody td::before {
    content: attr(data-label);
    display: block; margin-bottom: 3px;
    font-size: 11.5px; font-weight: 600; color: var(--muted-2);
  }
  .cmp__new { background: none; }
  .cmp__table tbody td.cmp__new { border-top: 1px solid var(--line-2); background: var(--brand-50); }
}

@media (max-width: 520px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .form .btn,
  .phero__actions .btn,
  .cta-band__actions .btn { flex: 1 1 100%; }
}
