  :root{
    --bg-base: #11151C;
    --bg-elevated: #211D19;
    --bg-card: #2A2522;
    --bg-counter: #5B412C;
    --amber: #E5A63E;
    --amber-deep: #C98727;
    --neon-pink: #FF3D9A;
    --neon-blue: #4DA6FF;
    --text-primary: #F4F1EC;
    --text-secondary: #B8B3AA;
    --text-tertiary: #948F86;
    --divider: #3A342C;
  }

  * { box-sizing: border-box; }

  html { scroll-behavior: smooth; }

  body {
    margin: 0;
    background: var(--bg-base);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
  }

  a { color: var(--amber); }

  .wrap {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
  }

  /* ---------- Nav ---------- */
  .nav {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(17, 21, 28, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--divider);
  }
  .nav .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
  }
  .brand {
    font-weight: 800;
    letter-spacing: 0.06em;
    font-size: 16px;
    color: var(--neon-pink);
    text-decoration: none;
  }
  .nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 16px;
  }
  .nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
  }
  .nav-links a:hover { color: var(--amber); }
  .nav-links a { position: relative; }
  /* Invisible 44x44 hit-slop: expands the tap target without affecting
     visual size/background (important for .lang-toggle button, whose
     background fills the padding box — real padding would visibly grow
     the active pill). */
  .nav-links a::after,
  .lang-toggle button::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 44px;
    min-height: 44px;
    transform: translate(-50%, -50%);
  }

  /* ---------- Hero ---------- */
  .hero {
    position: relative;
    padding: 72px 0 56px;
    background:
      radial-gradient(ellipse 60% 50% at 50% 0%, rgba(229,166,62,0.10), transparent),
      linear-gradient(180deg, var(--bg-base) 0%, var(--bg-base) 100%);
    border-bottom: 1px solid var(--divider);
    overflow: hidden;
  }
  .sign {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    font-size: 15px;
    color: var(--neon-pink);
    text-shadow: 0 0 14px rgba(255,61,154,0.45);
    margin-bottom: 20px;
  }
  .sign .open {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--neon-blue);
    border: 1px solid var(--neon-blue);
    border-radius: 999px;
    padding: 3px 10px;
    text-shadow: none;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
  }
  .hero h1 {
    font-size: 40px;
    line-height: 1.25;
    margin: 0 0 18px;
    font-weight: 800;
  }
  .hero p.lede {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 46ch;
    margin: 0 0 30px;
  }
  .hero-figure {
    position: relative;
    justify-self: center;
  }
  .hero-figure img {
    width: 100%;
    max-width: 300px;
    display: block;
    /* Same block-vs-text-align trap as .showcase-grid img: keep the phone
       centered in its column (matters once hero-grid collapses to 1fr). */
    margin-inline: auto;
    border-radius: 28px;
    border: 1px solid var(--divider);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
  }

  .cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
  }
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 22px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    border: 1px solid transparent;
  }
  .btn-primary {
    background: var(--amber);
    color: #211D19;
  }
  .btn-primary:hover { background: var(--amber-deep); }
  .btn-ghost {
    color: var(--text-primary);
    border-color: var(--divider);
  }
  .btn-ghost:hover { border-color: var(--text-tertiary); }
  .btn small {
    display: block;
    font-size: 12px;
    font-weight: 500;
    opacity: 0.75;
  }
  .btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
  }
  .fineprint {
    margin-top: 14px;
    font-size: 13px;
    color: var(--text-tertiary);
  }

  /* ---------- Sections ---------- */
  section { padding: 64px 0; }
  .section-head {
    margin-bottom: 36px;
    max-width: 60ch;
  }
  .section-head .eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 10px;
  }
  .section-head h2 {
    font-size: 26px;
    margin: 0 0 8px;
  }
  .section-head p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 17px;
  }

  /* ---------- Features ---------- */
  .features {
    border-top: 1px solid var(--divider);
  }
  .feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .feature-card {
    background: var(--bg-card);
    border: 1px solid var(--divider);
    border-radius: 20px;
    padding: 24px;
  }
  .feature-card .icon {
    font-size: 26px;
    margin-bottom: 14px;
    display: block;
  }
  .feature-card h3 {
    margin: 0 0 6px;
    font-size: 18px;
  }
  .feature-card p {
    margin: 0;
    font-size: 16px;
    color: var(--text-secondary);
  }

  /* ---------- Miso says ---------- */
  .miso-quotes {
    border-top: 1px solid var(--divider);
  }
  .quote-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
  .quote-card {
    position: relative;
    background: var(--bg-elevated);
    border: 1px solid var(--divider);
    border-radius: 16px;
    padding: 20px 22px;
  }
  .quote-card::before,
  .quote-card::after {
    content: "";
    position: absolute;
    left: 28px;
    width: 0;
    height: 0;
    border-left: 11px solid transparent;
    border-right: 11px solid transparent;
  }
  .quote-card::before {
    bottom: -12px;
    border-top: 12px solid var(--divider);
  }
  .quote-card::after {
    bottom: -10.5px;
    border-top: 10.5px solid var(--bg-elevated);
  }
  .quote-card p {
    margin: 0;
    font-size: 16px;
    color: var(--text-primary);
  }

  /* ---------- Showcase ---------- */
  .showcase {
    border-top: 1px solid var(--divider);
  }
  .showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .showcase-grid figure {
    margin: 0;
    background: var(--bg-card);
    border: 1px solid var(--divider);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
  }
  .showcase-grid img,
  .showcase-grid video {
    width: 100%;
    max-width: 240px;
    border-radius: 16px;
    border: 1px solid var(--divider);
    /* The lang-toggle rules force these imgs to display:block, which ignores
       the figure's text-align:center — auto margins re-center them. */
    margin-inline: auto;
  }
  .showcase-grid figcaption {
    margin-top: 14px;
    font-size: 14px;
    color: var(--text-tertiary);
  }
  .showcase-video {
    grid-column: 1 / -1;
  }
  .showcase-video video {
    max-width: 300px;
  }

  /* ---------- Honest facts ---------- */
  .facts {
    border-top: 1px solid var(--divider);
  }
  .fact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .fact-list li {
    background: var(--bg-elevated);
    border: 1px solid var(--divider);
    border-radius: 14px;
    padding: 16px 18px;
    font-size: 16px;
    color: var(--text-secondary);
  }
  .fact-list li b { color: var(--text-primary); }

  /* ---------- Support ---------- */
  .support {
    border-top: 1px solid var(--divider);
  }
  .support-card {
    background: linear-gradient(180deg, var(--bg-card), var(--bg-elevated));
    border: 1px solid var(--divider);
    border-radius: 24px;
    padding: 36px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
  }
  .support-card h2 {
    margin: 0 0 8px;
    font-size: 22px;
  }
  .support-card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 42ch;
  }

  /* ---------- Footer ---------- */
  footer {
    border-top: 1px solid var(--divider);
    padding: 32px 0 48px;
  }
  footer .wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-tertiary);
  }
  footer a {
    color: var(--text-tertiary);
    text-decoration: underline;
  }
  footer a:hover { color: var(--amber); }
  .footer-links { display: flex; gap: 18px; }

  /* ---------- Lang toggle ---------- */
  .lang-toggle {
    display: flex;
    align-items: center;
    gap: 2px;
    background: var(--bg-elevated);
    border: 1px solid var(--divider);
    border-radius: 999px;
    padding: 3px;
  }
  .lang-toggle button {
    position: relative;
    appearance: none;
    border: none;
    background: transparent;
    color: var(--text-tertiary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 5px 11px;
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit;
  }
  .lang-toggle button.active {
    background: var(--amber);
    color: #211D19;
  }

  /* ---------- Lang blocks ---------- */
  .lang-zh, .lang-en { display: none; }
  html[data-lang="zh"] .lang-zh { display: initial; }
  html[data-lang="en"] .lang-en { display: initial; }
  html[data-lang="zh"] li.lang-zh,
  html[data-lang="zh"] p.lang-zh,
  html[data-lang="zh"] div.lang-zh { display: block; }
  html[data-lang="en"] li.lang-en,
  html[data-lang="en"] p.lang-en,
  html[data-lang="en"] div.lang-en { display: block; }
  /* noscript / no-JS fallback: default to zh */
  html:not([data-lang]) .lang-zh { display: initial; }
  html:not([data-lang]) li.lang-zh,
  html:not([data-lang]) p.lang-zh,
  html:not([data-lang]) div.lang-zh { display: block; }
  html:not([data-lang]) .lang-en { display: none; }
  /* Screenshots swap with the language too. `.hero-figure img` declares
     display:block, which out-specifies the bare .lang-* rules above —
     these img-scoped rules win it back. */
  img.lang-zh, img.lang-en { display: none; }
  html[data-lang="zh"] img.lang-zh { display: block; }
  html[data-lang="en"] img.lang-en { display: block; }
  html:not([data-lang]) img.lang-zh { display: block; }
  html:not([data-lang]) img.lang-en { display: none; }
  video.lang-zh, video.lang-en { display: none; }
  html[data-lang="zh"] video.lang-zh { display: block; }
  html[data-lang="en"] video.lang-en { display: block; }
  html:not([data-lang]) video.lang-zh { display: block; }
  html:not([data-lang]) video.lang-en { display: none; }

  /* ---------- Responsive ---------- */
  @media (max-width: 760px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-figure { order: -1; }
    .hero h1 { font-size: 30px; }
    .feature-grid { grid-template-columns: 1fr; }
    .quote-grid { grid-template-columns: 1fr; }
    .showcase-grid { grid-template-columns: 1fr; }
    .fact-list { grid-template-columns: 1fr; }
    section { padding: 48px 0; }
    .support-card { padding: 26px; }
  }

  @media (max-width: 560px) {
    .nav .wrap { flex-wrap: wrap; gap: 8px 12px; }
    .brand { font-size: 14px; }
    .nav-links { gap: 12px; font-size: 14px; }
  }
