/* The site: a floating glass nav, a home page, and one page per topic. */
body { min-height: 100svh; }

/* ---------------------------------------------------------------- nav */
.nav-wrap { position: sticky; top: 0; z-index: 20; padding: 12px 16px 0; }
.nav { display: flex; align-items: center; gap: 6px; max-width: 1140px; margin: 0 auto; padding: 7px 7px 7px 16px; border-radius: 999px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 18px; text-decoration: none; letter-spacing: -0.02em; margin-right: auto; }
.brand .cjk { font-size: 15px; color: var(--red); font-weight: 700; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { padding: 9px 14px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-size: 15px; transition: background 0.2s ease; }
.nav-links a:hover { background: rgba(255, 251, 244, 0.75); }
.nav-links a[aria-current="page"] { background: rgba(255, 252, 247, 0.96); box-shadow: inset 0 1px 0 #fff, 0 2px 8px rgba(60, 30, 10, 0.07); }
.nav .btn-red { min-height: 42px; padding: 0 18px; font-size: 14px; margin-left: 6px; }
.nav-menu { display: none; width: 42px; height: 42px; border-radius: 50%; place-items: center; }
.nav-menu svg { stroke: var(--ink); }
.nav-sheet { max-width: 1140px; margin: 8px auto 0; padding: 8px; border-radius: 26px; display: grid; gap: 2px; animation: drop 0.35s var(--spring); }
.nav-sheet[hidden] { display: none; }
.nav-sheet a { padding: 14px 16px; border-radius: 18px; text-decoration: none; font-size: 17px; font-weight: 500; }
.nav-sheet a[aria-current="page"] { background: rgba(255, 252, 247, 0.9); }
.nav-sheet .btn-red { margin-top: 6px; color: #fff; }
@keyframes drop { from { transform: translateY(-10px); opacity: 0; } }
@media (max-width: 860px) {
  .nav-links, .nav > .btn-red { display: none; }
  .nav-menu { display: grid; }
}

/* Phones: the try button stays under the thumb. */
.sticky-try { display: none; }
@media (max-width: 860px) {
  .sticky-try {
    display: flex;
    position: fixed;
    z-index: 25;
    left: 12px;
    right: 12px;
    bottom: calc(env(safe-area-inset-bottom) + 12px);
    min-height: 54px;
    font-size: 16px;
    transition: transform 0.35s var(--spring), opacity 0.25s ease;
  }
  .sticky-try.away { transform: translateY(140%); opacity: 0; }
  body.has-sticky { padding-bottom: 80px; }
}

/* ---------------------------------------------------------------- shells */
.page { max-width: 1140px; margin: 0 auto; padding: 24px 24px 72px; }
.page-head { max-width: 760px; padding: 44px 0 8px; }
.page-head h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.04; font-weight: 650; letter-spacing: -0.045em; }
.page-head .lede { margin-top: 16px; }
.eyebrow { color: var(--muted); font-size: 14px; font-weight: 500; margin: 0 0 16px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.eyebrow .cjk { color: var(--red); }
.lede { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 34em; margin-top: 18px; }
.lede strong { color: var(--ink); font-weight: 600; }

.block { margin-top: 96px; scroll-margin-top: 90px; }
.block > h2, .block-head h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.1; font-weight: 650; letter-spacing: -0.035em; }
.block-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.block-head .cjk-tag { font-family: var(--cjk); color: var(--red); font-size: 15px; letter-spacing: 0.2em; display: block; margin-bottom: 10px; }
.block .sub { color: var(--ink-2); font-size: 17px; line-height: 1.55; margin-top: 12px; max-width: 38em; }
.aside { color: var(--muted); font-size: 14px; line-height: 1.55; margin-top: 14px; max-width: 44em; }
@media (max-width: 900px) {
  .page { padding: 8px 16px 56px; }
  .block { margin-top: 72px; }
  .lede { font-size: 17px; }
}

/* ---------------------------------------------------------------- hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 5vw, 64px); align-items: center; min-height: calc(100svh - 90px); padding: 12px 0 24px; }
.hero h1 { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: clamp(46px, 6.4vw, 84px); line-height: 1; font-weight: 700; letter-spacing: -0.05em; }
.hero h1 .cjk { font-size: 1em; letter-spacing: 0.02em; color: var(--red); text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6); }
.hero .pitch { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.45; color: var(--ink); max-width: 30em; margin-top: 22px; font-weight: 500; letter-spacing: -0.015em; }
.hero .pitch em { font-style: normal; color: var(--red); }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.cta .btn-red { min-height: 54px; padding: 0 26px; font-size: 16px; }
.cta .btn-glass { min-height: 54px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.trust span { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 999px; font-size: 13px; color: var(--ink-2); }
.trust span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }

.hero-art { position: relative; display: grid; place-items: center; min-height: 600px; isolation: isolate; }
.hero-art::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 6% -10% 8%;
  border-radius: 50%;
  background:
    radial-gradient(closest-side at 42% 42%, rgba(222, 70, 40, 0.38), transparent),
    radial-gradient(closest-side at 66% 66%, rgba(229, 189, 92, 0.5), transparent);
  filter: blur(34px);
}

/* The neon sign, hung off a Mong Kok wall. */
.neon {
  position: absolute;
  z-index: -1;
  left: max(0px, calc(50% - 300px));
  top: 4%;
  width: 116px;
  padding: 22px 0 18px;
  border-radius: 18px;
  display: grid;
  justify-items: center;
  gap: 6px;
  background: linear-gradient(180deg, #2a1e19, var(--night));
  box-shadow: 0 30px 50px -24px rgba(30, 10, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.neon::before { content: ""; position: absolute; inset: 9px; border-radius: 12px; border: 2px solid rgba(255, 110, 80, 0.9); box-shadow: 0 0 6px rgba(255, 80, 50, 0.9), 0 0 18px rgba(255, 60, 30, 0.55), inset 0 0 10px rgba(255, 70, 40, 0.45); }
.neon .cjk { font-size: 54px; line-height: 1.08; color: #ffe3d8; text-shadow: 0 0 4px #ff6a4a, 0 0 12px rgba(255, 70, 40, 0.95), 0 0 28px rgba(255, 50, 20, 0.7), 0 0 56px rgba(255, 40, 10, 0.4); }
.neon small { font-size: 10px; font-weight: 700; letter-spacing: 0.32em; color: #ffd48a; text-shadow: 0 0 6px rgba(255, 190, 80, 0.9); margin-top: 4px; padding-left: 0.3em; }
@media (prefers-reduced-motion: no-preference) {
  .neon .cjk span:last-child { animation: flicker 7s infinite steps(1); }
  @keyframes flicker { 0%, 92%, 96%, 100% { opacity: 1; } 93%, 95% { opacity: 0.45; } }
}

/* The phone in the hero: the moment a member signs. */
.phone {
  position: relative;
  width: min(360px, 100%);
  border-radius: var(--radius-xl);
  padding: 14px 18px 22px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 252, 246, 0.82), rgba(255, 248, 238, 0.6));
  -webkit-backdrop-filter: blur(34px) saturate(1.7);
  backdrop-filter: blur(34px) saturate(1.7);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 #fff, 0 44px 80px -30px rgba(90, 35, 10, 0.45), 0 2px 6px rgba(0, 0, 0, 0.04);
}
.phone::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(140deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) 30%); }
.status-bar { display: flex; justify-content: space-between; align-items: center; padding: 4px 12px 12px; font-weight: 600; font-size: 14px; }
.status-bar .icons { display: flex; gap: 5px; align-items: center; }
.status-bar svg { fill: currentColor; }
.ph-head { display: flex; align-items: center; gap: 12px; padding: 4px 4px 14px; }
.ph-head .mark { --chop: 22px; }
.ph-head b { display: block; font-size: 15px; letter-spacing: -0.02em; }
.ph-head small { color: var(--muted); font-size: 12px; }
.ph-card { border-radius: 24px; padding: 18px 16px 16px; background: rgba(255, 252, 247, 0.72); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: inset 0 1px 0 #fff, 0 8px 22px -14px rgba(90, 40, 15, 0.35); }
.ph-card .kicker { color: var(--muted); font-size: 12px; font-weight: 600; }
.ph-card h3 { font-size: 21px; line-height: 1.2; letter-spacing: -0.03em; margin-top: 4px; min-height: 2.4em; }
.ph-rows { list-style: none; margin-top: 10px; display: grid; }
.ph-rows li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.ph-rows li:last-child { border-bottom: 0; }
.ph-rows span { color: var(--muted); }
.ph-rows b { font-weight: 600; text-align: right; }
.ph-stamp { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; margin-top: 14px; }
.ph-stamp .stamp-pad { width: 76px; height: 96px; border-radius: 14px; background: repeating-linear-gradient(0deg, rgba(120, 80, 40, 0.05) 0 1px, transparent 1px 7px); box-shadow: inset 0 0 0 1px var(--line); }
.ph-stamp .chop { --chop: 46px; }
.ph-steps { list-style: none; display: grid; gap: 7px; font-size: 13px; color: var(--faint); }
.ph-steps li { display: flex; align-items: center; gap: 8px; transition: color 0.3s ease; }
.ph-steps li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; flex: 0 0 auto; transition: background 0.3s ease, box-shadow 0.3s ease; }
.ph-steps li.done { color: var(--ink); }
.ph-steps li.done::before { background: var(--red) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/100% no-repeat; box-shadow: none; }
.ph-btn { margin-top: 16px; width: 100%; min-height: 50px; pointer-events: none; }
.ph-note { text-align: center; color: var(--muted); font-size: 12px; margin-top: 12px; }
.device-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; color: var(--muted); font-size: 13px; }
.device-note .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(207, 58, 36, 0.5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(207, 58, 36, 0); } 100% { box-shadow: 0 0 0 0 rgba(207, 58, 36, 0); } }
@media (prefers-reduced-motion: reduce) { .device-note .dot { animation: none; } }

@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 20px; }
  .hero h1 { font-size: clamp(46px, 13vw, 64px); gap: 12px; }
  .hero-art { min-height: 0; padding: 30px 0 0; }
  .neon { right: auto; left: -4px; top: 10px; width: 78px; padding: 16px 0 12px; border-radius: 14px; }
  .neon::before { inset: 6px; border-radius: 10px; }
  .neon .cjk { font-size: 34px; }
  .neon small { font-size: 8px; }
  .phone { margin-left: 52px; width: calc(100% - 52px); max-width: 340px; }
}

/* ---------------------------------------------------------------- stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.stats > div { border-radius: var(--radius-md); padding: 16px 18px; }
.stats dt { color: var(--muted); font-size: 13px; line-height: 1.3; }
.stats dd { font-size: 28px; font-weight: 550; margin-top: 8px; letter-spacing: -0.03em; }
.stats dd small { font-size: 13px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats dd { font-size: 24px; } }

/* ---------------------------------------------------------------- how a round works */
.round-wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 28px; align-items: center; margin-top: 28px; }
.flow { padding: 30px 22px 24px; border-radius: 34px; display: grid; justify-items: center; gap: 16px; }
.flow #flow-ring { --ring: min(330px, 78vw); }
.flow figcaption { font-size: 16px; color: var(--ink-2); text-align: center; min-height: 72px; max-width: 30em; line-height: 1.5; }
.steps { list-style: none; display: grid; gap: 8px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border-radius: 22px; transition: box-shadow 0.3s ease, transform 0.3s var(--spring); }
.steps .n { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 700; background: rgba(255, 255, 255, 0.85); box-shadow: inset 0 0 0 1px var(--line); }
.steps h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.steps h3 .cjk { color: var(--red); font-size: 14px; margin-left: 6px; }
.steps p { color: var(--ink-2); font-size: 15px; line-height: 1.5; margin-top: 3px; }
.steps li.now { box-shadow: 0 0 0 2px var(--red), var(--glass-shadow); }
.steps li.now .n { background: var(--red); color: #fff; box-shadow: none; }
@media (max-width: 900px) { .round-wrap { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- the chop section */
.sign-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.sign-card { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: start; padding: 20px; border-radius: 24px; }
.sign-card .chop { --chop: 40px; transform: rotate(-5deg); }
.sign-card h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.sign-card p { color: var(--ink-2); font-size: 14px; line-height: 1.5; margin-top: 4px; }
.sign-card .std { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 600; color: var(--red-deep); background: var(--red-soft); padding: 3px 9px; border-radius: 99px; }
@media (max-width: 1000px) { .sign-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sign-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- tables */
.table-card { margin-top: 28px; border-radius: 26px; padding: 6px 6px; overflow: hidden; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th { text-align: left; font-size: 13px; color: var(--muted); font-weight: 600; padding: 14px 16px 10px; }
.tbl td { padding: 15px 16px; border-top: 1px solid var(--line); vertical-align: top; line-height: 1.5; color: var(--ink-2); }
.tbl td:first-child { color: var(--ink); font-weight: 600; width: 34%; }
.tbl td a { text-decoration: none; font-weight: 500; color: var(--red-deep); }
.tbl td a:hover { text-decoration: underline; }
.tbl td.n, .tbl th.n { width: 44px; font-weight: 500 !important; color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.tbl .mono { font-family: var(--mono); font-size: 13px; overflow-wrap: anywhere; }
.tbl td.tx { white-space: nowrap; width: 1%; }
.tbl tr.round-sep td { background: rgba(207, 58, 36, 0.05); color: var(--red-deep); font-weight: 700; font-size: 13px; padding: 9px 16px; }
@media (max-width: 700px) {
  .tbl.stack thead { display: none; }
  .tbl.stack tr { display: block; padding: 12px 14px; border-top: 1px solid var(--line); }
  .tbl.stack tr:first-child { border-top: 0; }
  .tbl.stack td { display: block; border: 0; padding: 2px 0; width: auto !important; }
  .tbl.stack td:first-child { margin-bottom: 2px; }
  .tbl { font-size: 14px; }
}

/* ---------------------------------------------------------------- cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.card { padding: 22px; border-radius: 26px; }
.card .ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.9); box-shadow: inset 0 1px 0 #fff, 0 2px 8px rgba(60, 30, 10, 0.06); margin-bottom: 14px; color: var(--red); font-family: var(--cjk); font-weight: 700; font-size: 19px; }
.card h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.card p { color: var(--ink-2); font-size: 15px; line-height: 1.5; margin-top: 6px; }
.card a { color: var(--red-deep); font-weight: 500; text-decoration: none; font-size: 14px; display: inline-block; margin-top: 10px; }
.card a:hover { text-decoration: underline; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cards { grid-template-columns: minmax(0, 1fr); } }

/* Culture: the same circle across Asia. */
.culture { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.culture div { padding: 18px 16px; border-radius: 22px; text-align: center; }
.culture .cjk { display: block; font-size: 30px; color: var(--red); line-height: 1.2; min-height: 36px; }
.culture b { display: block; margin-top: 8px; font-size: 15px; }
.culture small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
@media (max-width: 900px) { .culture { grid-template-columns: repeat(2, minmax(0, 1fr)); } .culture div:first-child { grid-column: 1 / -1; } }

/* Proof strip on the home page. */
.proof-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.proof-link { display: block; padding: 20px; border-radius: 24px; text-decoration: none; transition: transform 0.2s var(--spring); }
.proof-link:hover { transform: translateY(-2px); }
.proof-link small { color: var(--muted); font-size: 13px; font-weight: 500; }
.proof-link b { display: block; font-size: 17px; margin-top: 4px; letter-spacing: -0.02em; }
.proof-link code { display: inline-block; margin-top: 10px; }
.proof-link .ok { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; margin-left: 6px; font-size: 12px; font-weight: 600; color: var(--red-deep); }
@media (max-width: 900px) { .proof-links { grid-template-columns: minmax(0, 1fr); } }

/* Team */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; max-width: 760px; }
.person { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 24px; }
.person .av { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(150deg, #db4a31, var(--red-deep)); box-shadow: 0 0 0 3px #fff; }
.person b { display: block; font-size: 17px; }
.person small { color: var(--muted); font-size: 14px; }
@media (max-width: 640px) { .team { grid-template-columns: minmax(0, 1fr); } }

.cta-band { margin-top: 96px; padding: 40px; border-radius: 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; overflow: hidden; }
.cta-band h2 { font-size: 30px; font-weight: 650; letter-spacing: -0.035em; line-height: 1.1; }
.cta-band p { color: var(--ink-2); margin-top: 8px; font-size: 16px; max-width: 34em; line-height: 1.5; }
.cta-band .btn-red { min-height: 54px; font-size: 16px; }
@media (max-width: 900px) { .cta-band { flex-direction: column; align-items: flex-start; padding: 28px; margin-top: 72px; } }

.foot { margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.8; }
.foot a { color: var(--ink-2); }
.foot .fine { font-size: 13px; }

/* Rules page */
.rules { display: grid; gap: 12px; margin-top: 28px; }
.rule { padding: 22px 24px; border-radius: 26px; }
.rule h3 { font-size: 19px; letter-spacing: -0.02em; display: flex; align-items: baseline; gap: 10px; }
.rule h3 .cjk { color: var(--red); font-size: 15px; }
.rule ul, .rule ol { margin: 10px 0 0 20px; display: grid; gap: 6px; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.rule p { color: var(--ink-2); font-size: 15px; line-height: 1.55; margin-top: 8px; }
.live-chip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 99px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.live-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: pulse 2s infinite; }
@media (prefers-reduced-motion: reduce) { .live-chip .dot { animation: none; } }
