/* ============================================================
   JCARD Network — prototype tenant presence
   Network chrome (neutral paper/ink) + per-shadchan accent.
   ============================================================ */

:root {
  --paper: #EBE8E0;
  --paper-2: #E0DCD1;
  --card: #F6F3EC;
  --card-2: #FFFFFF;
  --ink: #1A1D26;
  --ink-2: #4A4E5B;
  --ink-3: #8A8B93;
  --line: rgba(26,29,38,0.12);
  --line-2: rgba(26,29,38,0.07);
  --gold: #C49A4A;
  --gold-ink: #9A7830;
  --leaf: #4F6E49;
  --leaf-ink: #3d5739;
  /* default accent — neutral graphite (no clash on any host site) */
  --accent: #45454B;
  --accent-2: #5E5E66;
  --accent-ink: #3A3A40;
  --accent-soft: #e2e2e5;
  --accent-ink-on: #F2F0E6;
  --font-serif: 'Newsreader', Georgia, serif;
  --font-ui: 'Hanken Grotesk', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --shadow-lg: 0 34px 60px -34px rgba(26,29,38,0.5);
  --shadow-md: 0 16px 34px -20px rgba(26,29,38,0.42);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--paper); color: var(--ink); font-family: var(--font-ui); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; }
.mono { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .2em; font-size: 10px; color: var(--ink-3); }
button { font-family: inherit; }
input::placeholder, textarea::placeholder { color: #BABBC2; opacity: 1; }
.eyebrow { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--accent-ink); }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.02em; }

/* ───────── network bar ───────── */
.netbar { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: 14px;
  padding: 11px clamp(16px,4vw,44px); background: rgba(235,232,224,.9); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line); }
.netbar .wm { font-family: var(--font-mono); font-weight: 600; letter-spacing: .26em; font-size: 13px; color: var(--ink); cursor: pointer; white-space: nowrap; }
.netbar .wm .dot { color: var(--gold-ink); }
.netbar .net { font-family: var(--font-serif); font-style: italic; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.netbar .nav { margin-left: auto; display: flex; align-items: center; gap: 2px; flex-wrap: wrap; justify-content: flex-end; }
.netbar .nav a { font-size: 13.5px; font-weight: 500; color: var(--ink-2); padding: 7px 11px; border-radius: 8px; cursor: pointer; transition: all .14s; white-space: nowrap; }
.netbar .nav a:hover { color: var(--ink); background: rgba(26,29,38,.05); }
.netbar .nav a.on { color: var(--accent-ink); background: var(--accent-soft); }
.netbar .nav .join { background: var(--accent); color: var(--accent-ink-on); }
.netbar .nav .join:hover { background: var(--accent-2); color: var(--accent-ink-on); }
.netbar .viewtog { display: flex; gap: 3px; background: rgba(26,29,38,.06); border-radius: 99px; padding: 3px; margin-left: 8px; }
.netbar .viewtog button { font-size: 11.5px; font-weight: 600; color: var(--ink-2); background: transparent; border: none; border-radius: 99px; padding: 6px 11px; cursor: pointer; white-space: nowrap; }
.netbar .viewtog button.on { background: var(--ink); color: var(--paper); }

/* ───────── layout ───────── */
.page { max-width: 1040px; margin: 0 auto; padding: 0 clamp(20px,5vw,56px) 40px; }
.page-wide { max-width: 1140px; }
.screen-enter { }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.sec { margin-top: clamp(52px,8vw,92px); }
.sec-label { display: flex; align-items: center; gap: 16px; margin-bottom: 30px; }
.sec-label::before, .sec-label::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.sec-label span { font-family: var(--font-mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 99px;
  padding: 12px 24px; font-family: var(--font-ui); font-size: 14.5px; font-weight: 600; cursor: pointer; transition: all .15s; text-decoration: none; }
.btn-lg { padding: 14px 30px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: var(--accent-ink-on); }
.btn-primary:hover { background: var(--accent-2); }
.btn-primary:disabled { opacity: .45; cursor: not-allowed; }
.btn-gold { background: var(--gold); color: #241a08; }
.btn-gold:hover { filter: brightness(1.05); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: rgba(26,29,38,.04); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ink-2);
  background: var(--card); border: 1px solid var(--line); border-radius: 99px; padding: 6px 12px; }

/* ═══════════════ PROFILE / HOME ═══════════════ */

/* moon intro */
.intro { position: relative; text-align: center; padding: clamp(30px,7vw,70px) 0 0; }
.intro-moon { width: clamp(140px,22vw,200px); height: clamp(140px,22vw,200px); margin: 0 auto; display: block;
  border-radius: 50%; object-fit: cover; background: #F7F3E0; border: 1px solid var(--line);
  box-shadow: 0 30px 46px -26px rgba(26,29,38,.5); }
@keyframes moonrise { from { opacity: 0; transform: translateY(34px) scale(.92); } to { opacity: 1; transform: none; } }
.intro-wm { font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.03em; line-height: .9;
  font-size: clamp(52px,11vw,104px); margin-top: -6px; }
.intro-wm .b { color: var(--ink); }
.intro-wm .m { color: var(--gold-ink); font-style: italic; }
.intro-tag { margin-top: 18px; font-family: var(--font-serif); font-style: italic; font-size: clamp(17px,2.4vw,22px); color: var(--ink-2); }
.intro-cue { margin-top: 34px; display: inline-flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.intro-cue .line { width: 1px; height: 34px; background: linear-gradient(var(--ink-3), transparent); }
@keyframes fadeup { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .intro-moon { animation: moonrise 1.3s cubic-bezier(.2,.7,.2,1); }
}

/* identity block */
.pf-hero { text-align: center; padding: clamp(46px,8vw,84px) 0 0; }
.pf-eyebrow { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--accent-ink); }
.pf-hero h1 { font-size: clamp(40px,7vw,72px); line-height: 1.0; margin: 14px 0 0; }
.pf-rule { width: 54px; height: 2px; background: var(--gold); margin: 26px auto; }
.pf-philosophy { font-family: var(--font-serif); font-style: italic; font-size: clamp(20px,3vw,29px); line-height: 1.42; color: var(--ink); max-width: 20ch; margin: 0 auto; text-wrap: balance; }
.pf-region { margin-top: 24px; font-size: 14px; color: var(--ink-2); }
.pf-region .sep { color: var(--ink-3); margin: 0 8px; }
.pf-verified { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--leaf-ink); }
.pf-verified svg { width: 15px; height: 15px; }

/* availability + fee status strip */
.status-wrap { margin-top: 18px; }
.status-strip { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); font-size: 13px; font-weight: 500; color: var(--ink); }
.status-pill .sdot { width: 8px; height: 8px; border-radius: 50%; flex: none; box-shadow: 0 0 0 3px rgba(0,0,0,.04); }
.status-pill.fee { color: var(--ink-2); }
.status-pill.fee .tag-ic { display: inline-flex; color: var(--brass-ink, #7d5f28); }
.status-pill.fee .tag-ic svg { width: 14px; height: 14px; }
.sdot { display: inline-block; }

/* owner editor for status */
.status-edit { display: none; max-width: 640px; margin: 16px auto 0; text-align: left; background: var(--card-2, #fff); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
body.owner .status-edit { display: block; }
.status-edit .se-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 9px 0; }
.status-edit .se-row + .se-row { border-top: 1px solid var(--line-2); }
.status-edit .se-l { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); width: 100%; }
.se-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.se-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); font-size: 12.5px; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: border-color .14s, color .14s, background .14s; }
.se-chip .sdot { width: 7px; height: 7px; border-radius: 50%; }
.se-chip:hover { border-color: var(--ink-3); }
.se-chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.se-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); cursor: pointer; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.se-toggle .knob { width: 26px; height: 15px; border-radius: 99px; background: var(--ink-3); position: relative; transition: background .16s; flex: none; }
.se-toggle .knob::after { content: ""; position: absolute; top: 2px; left: 2px; width: 11px; height: 11px; border-radius: 50%; background: #fff; transition: transform .16s; }
.se-toggle.on { color: var(--ink); }
.se-toggle.on .knob { background: #4F8A5B; }
.se-toggle.on .knob::after { transform: translateX(11px); }
.se-hint { font-size: 11.5px; color: var(--ink-3); flex: 1 1 200px; }

/* founders portrait band */
.founders { max-width: 780px; margin: clamp(44px,7vw,72px) auto 0; display: grid; grid-template-columns: 200px 1fr; gap: clamp(24px,4vw,44px); align-items: center; }
@media (max-width: 620px){ .founders { grid-template-columns: 1fr; text-align: center; } }
.founders-photo { border-radius: 18px; overflow: hidden; aspect-ratio: 4/5; background: var(--paper-2); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
@media (max-width: 620px){ .founders-photo { max-width: 240px; margin: 0 auto; } }
.founders-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.founders-copy p { font-family: var(--font-serif); font-size: clamp(17px,2.2vw,20px); line-height: 1.6; color: var(--ink-2); margin: 0; text-wrap: pretty; }
.founders-copy p b { color: var(--ink); font-weight: 500; }
.founders-sign { margin-top: 18px; }
.founders-sign .nm { font-family: var(--font-serif); font-size: 20px; color: var(--ink); }
.founders-sign .role { display: block; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-top: 5px; }

/* track record */
.record { display: grid; grid-template-columns: repeat(4,1fr); }
@media (max-width: 640px){ .record { grid-template-columns: repeat(2,1fr); gap: 30px 0; } }
.record .rstat { text-align: center; padding: 0 14px; position: relative; }
.record .rstat + .rstat::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
@media (max-width: 640px){ .record .rstat + .rstat::before { display: none; } .record .rstat:nth-child(even)::before { content:""; position:absolute; left:0; top:8px; bottom:8px; width:1px; background:var(--line); } }
.record .n { font-family: var(--font-serif); font-size: clamp(44px,6.5vw,60px); line-height: 1; letter-spacing: -0.03em; color: var(--accent-ink); }
.record .l { font-size: 12px; color: var(--ink-2); margin-top: 12px; line-height: 1.4; }
.record-foot { text-align: center; margin-top: 26px; font-family: var(--font-mono); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--leaf-ink); display: flex; align-items: center; justify-content: center; gap: 7px; }
.record-foot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--leaf); }

/* safeguards */
.safe { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
@media (max-width: 760px){ .safe { grid-template-columns: 1fr; } }
.safe-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px 24px; }
.safe-card .ic { width: 42px; height: 42px; border-radius: 11px; background: var(--accent-soft); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; }
.safe-card h3 { font-size: 20px; margin: 16px 0 8px; }
.safe-card p { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); margin: 0; }
.safe-card p em { color: var(--ink); font-style: italic; }

/* testimonials / endorsements */
.endorse-vouch { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .03em; color: var(--ink-2); background: var(--card); border: 1px solid var(--line); border-radius: 99px; padding: 8px 16px; margin: 0 auto 14px; }
.endorse-vouch b { color: var(--ink); font-weight: 600; }
.endorse-vouch .v-ic { width: 15px; height: 15px; flex: none; }
.sec .endorse-vouch { display: flex; width: max-content; }
.tst-lead { text-align: center; max-width: 44ch; margin: 0 auto 8px; font-family: var(--font-serif); font-style: italic; font-size: 17px; color: var(--ink-2); }
.tst { display: flex; flex-direction: column; }
.quote { text-align: center; max-width: 720px; margin: 0 auto; padding: clamp(28px,5vw,42px) 0; }
.quote + .quote { border-top: 1px solid var(--line); }
.quote .qmark { font-family: var(--font-serif); font-size: 56px; line-height: .4; color: var(--gold); height: 30px; }
.quote .q { font-family: var(--font-serif); font-size: clamp(20px,3vw,27px); line-height: 1.45; color: var(--ink); margin-top: 12px; text-wrap: balance; }
.quote .by { margin-top: 18px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.quote .by b { color: var(--accent-ink); font-weight: 600; }
.quote .verified { display: inline-flex; align-items: center; gap: 5px; margin-left: 11px; font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); }
.quote .verified svg { width: 12px; height: 12px; }
.endorse-owner { display: none; }
.owner .endorse-owner { display: inline; color: var(--gold-ink); font-weight: 600; }
.tst-note { text-align: center; font-style: italic; font-family: var(--font-serif); font-size: 14px; color: var(--ink-3); margin-top: 24px; }
.endorse-cta { display: flex; justify-content: center; margin-top: 20px; }

/* owner endorsement approval inbox */
.endorse-inbox { max-width: 640px; margin: 0 auto 22px; background: var(--card-2, #fff); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; text-align: left; }
.endorse-inbox .ei-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.ei-l { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.ei-n { font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: #fff; background: #B0842F; border-radius: 99px; min-width: 18px; height: 18px; display: inline-grid; place-items: center; padding: 0 5px; }
.ei-row { padding: 13px 0; border-top: 1px solid var(--line-2); }
.ei-q { font-family: var(--font-serif); font-size: 16px; line-height: 1.45; color: var(--ink); }
.ei-by { font-size: 12px; color: var(--ink-3); margin-top: 6px; }
.ei-actions { display: flex; gap: 8px; margin-top: 11px; }
.ei-approve, .ei-decline { font-family: var(--font-ui); font-size: 12.5px; font-weight: 600; border-radius: 99px; padding: 7px 16px; cursor: pointer; border: 1px solid var(--line); transition: opacity .14s; }
.ei-approve { background: #4F8A5B; color: #fff; border-color: #4F8A5B; }
.ei-approve:hover { opacity: .88; }
.ei-decline { background: transparent; color: var(--ink-2); }
.ei-decline:hover { border-color: var(--ink-3); }
.ei-foot { font-size: 11.5px; color: var(--ink-3); font-style: italic; font-family: var(--font-serif); margin-top: 12px; }
.quote.just-added { animation: addin .5s ease; }
@keyframes addin { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ── fictional / sample-data marker ── */
.fic, [data-fic] { outline: 1px dashed rgba(184,58,48,.42); outline-offset: 2px; border-radius: 4px; }
.fic-note { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: #a15850; margin-bottom: 14px; }
.fic-note::before { content: ""; width: 18px; border-top: 1px dashed rgba(184,58,48,.75); display: inline-block; }
.fic-legend { position: fixed; left: 14px; bottom: 14px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .05em; color: #9a4a42; background: rgba(255,255,255,.9); border: 1px dashed rgba(184,58,48,.5); border-radius: 99px; padding: 5px 11px 5px 12px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.fic-legend .dash { width: 15px; border-top: 1px dashed rgba(184,58,48,.85); }

/* discretion strip */
.discretion { margin-top: clamp(52px,8vw,88px); text-align: center; background: var(--paper-2); border-radius: 22px; padding: clamp(34px,6vw,54px) 32px; }
.discretion .mono { color: var(--accent-ink); }
.discretion p { font-family: var(--font-serif); font-style: italic; font-size: clamp(19px,2.8vw,26px); line-height: 1.5; color: var(--ink); max-width: 28ch; margin: 14px auto 0; text-wrap: balance; }

/* profile cta */
.pf-cta { margin-top: clamp(40px,6vw,56px); text-align: center; }
.pf-cta h2 { font-size: clamp(28px,4.5vw,42px); margin: 0; }
.pf-cta p { font-size: 15px; color: var(--ink-2); max-width: 46ch; margin: 14px auto 0; line-height: 1.55; }
.pf-cta .row { margin-top: 26px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.pf-cta .free { display: block; margin-top: 18px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }

/* footer */
.foot { margin-top: clamp(56px,9vw,90px); border-top: 1px solid var(--line); }
.foot-in { max-width: 1040px; margin: 0 auto; padding: 30px clamp(20px,5vw,56px); display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.foot .mark { font-family: var(--font-mono); font-weight: 600; letter-spacing: .24em; font-size: 12px; }
.foot .mark .dot { color: var(--gold-ink); }
.foot .tag { font-size: 12.5px; color: var(--ink-3); font-style: italic; font-family: var(--font-serif); }

/* ── owner view banner + migration explainer ── */
.owner-note { display: none; }
body.owner .owner-note { display: block; }
body.owner .public-only { display: none !important; }
.ownbar { background: var(--accent); color: var(--accent-ink-on); }
.ownbar-in { max-width: 1040px; margin: 0 auto; padding: 14px clamp(20px,5vw,56px); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ownbar .b { font-weight: 700; }
.ownbar-in .txt { font-size: 13.5px; line-height: 1.5; opacity: .92; }
.ownbar-in .txt b { opacity: 1; }
.ownbar .mono { color: rgba(242,240,230,.6); }

.migrate { margin-top: clamp(52px,8vw,88px); background: var(--ink); color: var(--paper); border-radius: 24px; padding: clamp(34px,6vw,56px); }
.migrate .eyebrow { color: var(--gold); }
.migrate h2 { color: var(--paper); font-size: clamp(28px,4vw,40px); margin: 12px 0 0; }
.migrate .sub { color: rgba(235,232,224,.72); font-size: 15.5px; line-height: 1.6; max-width: 56ch; margin: 14px 0 0; }
.migrate-steps { margin-top: 34px; display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
@media (max-width: 760px){ .migrate-steps { grid-template-columns: 1fr; } }
.migrate-step { border: 1px solid rgba(235,232,224,.16); border-radius: 15px; padding: 22px 20px; }
.migrate-step .num { font-family: var(--font-serif); font-size: 34px; color: var(--gold); line-height: 1; }
.migrate-step h4 { font-family: var(--font-serif); font-weight: 500; font-size: 18px; color: var(--paper); margin: 12px 0 7px; }
.migrate-step p { font-size: 13.5px; line-height: 1.55; color: rgba(235,232,224,.68); margin: 0; }
.migrate-foot { margin-top: 28px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(235,232,224,.5); }

/* accent picker (owner) */
.accent-pick { display: none; align-items: center; justify-content: center; gap: 12px; margin: 26px 0 0; }
body.owner .accent-pick { display: flex; }
.accent-pick .ap-l { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.accent-pick .sw { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; padding: 0; transition: transform .12s; }
.accent-pick .sw:hover { transform: scale(1.12); }
.accent-pick .sw.on { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }

/* ═══════════════ TOOL PAGES — shared shell ═══════════════ */
.tool { padding-top: clamp(30px,5vw,52px); }
.tool-head { text-align: center; max-width: 720px; margin: 0 auto; }
.tool-head h1 { font-size: clamp(36px,6vw,60px); line-height: 1.02; margin: 14px 0 0; }
.tool-head h1 em { font-style: italic; color: var(--accent-ink); }
.tool-head .lead { font-size: 16px; line-height: 1.6; color: var(--ink-2); margin: 18px auto 0; max-width: 52ch; }
.tool-badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); background: var(--card); border: 1px solid var(--line); border-radius: 99px; padding: 6px 13px; }
.tool-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* card */
.card { background: var(--card-2); border: 1px solid var(--line); border-radius: 18px; padding: clamp(24px,4vw,38px); box-shadow: var(--shadow-md); }

/* ═══════════════ jCARD ═══════════════ */
.jc-hero-card { max-width: 460px; margin: 34px auto 0; }
.jc-doc { background: var(--card-2); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); }
.jc-doc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; background: var(--accent); color: var(--accent-ink-on); }
.jc-doc-id { display: flex; align-items: center; gap: 12px; }
.jc-doc-badge { font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; background: rgba(242,240,230,.16); padding: 5px 9px; border-radius: 6px; }
.jc-doc-name { font-family: var(--font-serif); font-size: 19px; }
.jc-doc-headline { font-size: 12.5px; opacity: .82; line-height: 1.35; margin-top: 2px; }
.jc-doc-spineno { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .6; white-space: nowrap; }
.jc-doc-body { padding: 8px 18px 18px; }
.jc-slot { padding: 13px 0; border-bottom: 1px solid var(--line-2); }
.jc-slot:last-child { border-bottom: none; }
.jc-slot-empty { opacity: .4; }
.jc-slot-head { display: flex; align-items: center; gap: 9px; }
.jc-slot-n { font-family: var(--font-mono); font-size: 10px; color: var(--ink-3); }
.jc-slot-ic { color: var(--accent-ink); display: flex; }
.jc-slot-title { font-weight: 600; font-size: 13.5px; }
.jc-slot-facet { margin-left: auto; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.jc-slot-items { list-style: none; margin: 9px 0 0; padding: 0 0 0 28px; display: flex; flex-direction: column; gap: 9px; }
.jc-item-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.jc-item-label { font-size: 11px; font-weight: 600; color: var(--ink-2); }
.jc-item-value { font-size: 13.5px; color: var(--ink); line-height: 1.4; margin-top: 1px; }
.jc-slot-none { padding-left: 28px; color: var(--ink-3); }
.jc-priv { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-mono); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; padding: 2px 6px; border-radius: 5px; border: 1px solid var(--line); color: var(--ink-3); }
.jc-priv svg { width: 11px; height: 11px; }
.jc-priv-public { color: var(--leaf-ink); border-color: color-mix(in srgb, var(--leaf) 40%, transparent); }
.jc-priv-locked, .jc-priv-on-interest { color: var(--gold-ink); border-color: color-mix(in srgb, var(--gold) 45%, transparent); }

.jc-why { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
@media (max-width: 760px){ .jc-why { grid-template-columns: 1fr; } }
.jc-why-item { text-align: center; padding: 10px; }
.jc-why-ic { width: 48px; height: 48px; border-radius: 13px; background: var(--accent-soft); color: var(--accent-ink); display: inline-flex; align-items: center; justify-content: center; }
.jc-why-item h3 { font-size: 21px; margin: 14px 0 8px; }
.jc-why-item p { font-size: 14px; line-height: 1.55; color: var(--ink-2); margin: 0; }

/* transform lab */
.jc-lab-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
@media (max-width: 820px){ .jc-lab-grid { grid-template-columns: 1fr; } }
.jc-lab-toolbar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.jc-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); background: var(--card); border: 1px solid var(--line); border-radius: 99px; padding: 7px 13px; cursor: pointer; }
.jc-chip:hover { background: var(--paper-2); }
.jc-textarea { width: 100%; min-height: 260px; resize: vertical; border: 1px solid var(--line); border-radius: 14px; padding: 16px; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.6; color: var(--ink); background: var(--card-2); }
.jc-textarea:focus { outline: none; border-color: var(--accent); }
.jc-transform-btn { margin-top: 12px; }
.jc-lab-note { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-3); margin-top: 12px; }
.jc-lab-output { min-height: 300px; }
.jc-placeholder { height: 100%; min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; border: 1.5px dashed var(--line); border-radius: 16px; padding: 30px; }
.jc-ph-mark { font-family: var(--font-serif); font-style: italic; font-size: 40px; color: var(--ink-3); }
.jc-placeholder p { font-size: 14px; color: var(--ink-2); max-width: 30ch; margin: 0; line-height: 1.5; }
.jc-lab-actions { display: flex; gap: 10px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.jc-spin { display: inline-block; width: 15px; height: 15px; border: 2px solid rgba(242,240,230,.4); border-top-color: var(--accent-ink-on); border-radius: 50%; animation: spin .7s linear infinite; }
.jc-spin-lg { width: 34px; height: 34px; border-width: 3px; border-color: var(--line); border-top-color: var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }

/* spine */
.jc-spine { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 24px; }
@media (max-width: 640px){ .jc-spine { grid-template-columns: 1fr; } }
.jc-spine-row { display: flex; align-items: center; gap: 12px; padding: 14px 4px; border-bottom: 1px solid var(--line-2); }
.jc-spine-n { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); }
.jc-spine-ic { color: var(--accent-ink); display: flex; }
.jc-spine-title { font-weight: 600; font-size: 15px; }
.jc-spine-facet { margin-left: auto; font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.jc-legend { margin-top: 28px; }
.jc-legend-label { display: block; text-align: center; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.jc-legend-grid { display: grid; grid-template-columns: max-content 1fr; gap: 11px 18px; align-items: center; width: fit-content; max-width: 100%; margin: 16px auto 0; padding: 20px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.jc-legend-grid .jc-priv { justify-self: start; }
.jc-legend-hint { font-size: 13px; color: var(--ink-2); }

/* mecard tags */
.jc-mecard { background: var(--paper-2); border-radius: 22px; padding: clamp(30px,5vw,48px); text-align: center; }
.jc-mecard h2 { font-size: clamp(26px,4vw,38px); margin: 12px 0 0; }
.jc-mecard .lead { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); max-width: 56ch; margin: 14px auto 0; }
.jc-mecard-tags { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin: 30px 0 0; text-align: left; }
@media (max-width: 760px){ .jc-mecard-tags { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 440px){ .jc-mecard-tags { grid-template-columns: 1fr; } }
.jc-mecard-tag { display: flex; align-items: center; gap: 11px; background: var(--card-2); border: 1px solid var(--line); border-radius: 13px; padding: 14px; }
.jc-mecard-tag .ic { width: 36px; height: 36px; border-radius: 9px; background: var(--accent-soft); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; flex: none; }
.jc-mecard-tag b { display: block; font-size: 14px; }
.jc-mecard-tag span { font-size: 11.5px; color: var(--ink-3); }

/* ═══════════════ MAZAL CHECK ═══════════════ */
.mz-disclaimer { max-width: 60ch; margin: 22px auto 0; font-size: 13px; line-height: 1.6; color: var(--ink-3); text-align: left; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 12px; padding: 16px 18px; }
.mz-disclaimer b { color: var(--ink-2); }
.mz-subject { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 30px 0 22px; }
.mz-subject-lbl { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.mz-seg { display: flex; gap: 3px; background: rgba(26,29,38,.06); border-radius: 99px; padding: 3px; }
.mz-seg button { font-size: 13px; font-weight: 600; color: var(--ink-2); background: transparent; border: none; border-radius: 99px; padding: 8px 18px; cursor: pointer; }
.mz-seg button.on { background: var(--ink); color: var(--paper); }
.mz-picker { margin-top: 8px; }
.mz-picker-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.mz-picker-label { font-family: var(--font-serif); font-size: 18px; }
.mz-picker-sub { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.mz-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 8px; }
@media (max-width: 640px){ .mz-grid { grid-template-columns: repeat(4,1fr); } }
@media (max-width: 400px){ .mz-grid { grid-template-columns: repeat(3,1fr); } }
.mz-tile { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 12px 4px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: all .13s; }
.mz-tile:hover { border-color: var(--accent); background: var(--card-2); }
.mz-tile.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink-on); }
.mz-glyph { font-size: 22px; line-height: 1; }
.mz-tile-name { font-size: 11px; font-weight: 600; }
.mz-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 8px; }
@media (max-width: 720px){ .mz-cols { grid-template-columns: 1fr; } }
.mz-go { margin-top: 18px; }

/* thinking */
.mz-think { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: center; }
@media (max-width: 760px){ .mz-think { grid-template-columns: 1fr; justify-items: center; text-align: center; } }
.mz-wheel { position: relative; width: 320px; height: 320px; color: var(--accent-ink); }
.mz-wheel-ring { position: absolute; inset: 0; animation: spin 26s linear infinite; }
.mz-wheel-glyph { position: absolute; top: 50%; left: 50%; margin: -12px 0 0 -12px; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--ink-3); }
.mz-wheel-glyph.lit { color: var(--gold-ink); text-shadow: 0 0 14px color-mix(in srgb, var(--gold) 60%, transparent); }
.mz-wheel-line { position: absolute; inset: 0; }
.mz-wheel-core { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 40px; }
.mz-wheel-amp { font-size: 22px; color: var(--gold-ink); }
.mz-think-label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); }
.mz-think-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: pulse 1.1s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.mz-think h2 { font-size: clamp(26px,4vw,38px); margin: 12px 0 4px; }
.mz-think-sub { color: var(--ink-2); font-style: italic; font-family: var(--font-serif); font-size: 15px; }
.mz-steps { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.mz-step { display: flex; align-items: center; gap: 11px; font-size: 14px; color: var(--ink-2); opacity: 0; animation: stepin .5s ease forwards; }
@keyframes stepin { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
.mz-step-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.mz-step-check { margin-left: auto; color: var(--leaf); opacity: 0; animation: fadein .3s ease forwards; }
@keyframes fadein { to { opacity: 1; } }
.mz-progress { margin-top: 24px; height: 4px; border-radius: 99px; background: var(--line); overflow: hidden; max-width: 360px; }
.mz-progress-bar { height: 100%; background: linear-gradient(90deg, var(--accent), var(--gold)); animation: fill 9s linear forwards; }
@keyframes fill { from { width: 0; } to { width: 100%; } }

/* reveal */
.mz-reveal-head { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
@media (max-width: 720px){ .mz-reveal-head { grid-template-columns: 1fr; } }
.mz-pair-line { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.mz-pair-block { display: flex; align-items: center; gap: 12px; }
.mz-pair-glyph { font-size: 44px; color: var(--accent-ink); line-height: 1; }
.mz-pair-role { font-family: var(--font-mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.mz-pair-name-lg { font-family: var(--font-serif); font-size: 24px; }
.mz-pair-dates { font-size: 11.5px; color: var(--ink-3); }
.mz-pair-conjoin { font-size: 22px; color: var(--gold-ink); }
.mz-crest { text-align: center; border: 1px solid var(--line); border-radius: 16px; padding: 20px 26px; background: var(--card); min-width: 180px; }
.mz-crest-stars { color: var(--gold); font-size: 18px; letter-spacing: 2px; }
.mz-crest-rating { font-family: var(--font-serif); font-size: 24px; margin-top: 4px; }
.mz-crest-brief { font-size: 12px; color: var(--ink-2); margin-top: 6px; }
.mz-reading { margin-top: 34px; max-width: 660px; }
.mz-reading-rule { width: 44px; height: 2px; background: var(--gold); margin-bottom: 22px; }
.mz-reading-lede { font-family: var(--font-serif); font-size: clamp(20px,2.6vw,25px); line-height: 1.5; color: var(--ink); margin: 0; }
.mz-reading-text { font-size: 16px; line-height: 1.7; color: var(--ink-2); margin: 16px 0 0; }
.mz-reading-cite { margin-top: 20px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.mz-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.mz-footnote { text-align: center; max-width: 46ch; margin: 30px auto 0; font-family: var(--font-serif); font-style: italic; font-size: 14.5px; color: var(--ink-3); line-height: 1.5; }

/* ═══════════════ WISDOM ═══════════════ */
.wis-title { font-family: var(--font-serif); font-size: clamp(40px,7vw,66px); line-height: 1; direction: rtl; }
.wis-sub { font-family: var(--font-serif); font-style: italic; font-size: clamp(20px,3vw,27px); color: var(--ink-2); margin-top: 6px; }
.wis-tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin-top: 14px; }
.wis-move { margin-top: clamp(40px,6vw,64px); }
.wis-move-label { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.wis-move-ix { font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); }
.wis-move-title { font-family: var(--font-serif); font-size: 22px; }
.wis-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
@media (max-width: 640px){ .wis-list { grid-template-columns: 1fr; } }
.wis-item { text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 13px; padding: 18px 20px; cursor: pointer; transition: all .14s; }
.wis-item:hover { border-color: var(--accent); background: var(--card-2); transform: translateY(-2px); }
.wis-item h4 { font-family: var(--font-serif); font-size: 18px; margin: 0; }
.wis-item .src { font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-top: 8px; }
/* reader */
.wis-reader { max-width: 720px; margin: 0 auto; }
.wis-back { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--ink-2); background: none; border: none; cursor: pointer; padding: 0; }
.wis-reader-src { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); margin-top: 26px; }
.wis-reader h1 { font-size: clamp(30px,5vw,46px); line-height: 1.05; margin: 10px 0 0; }
.wis-reader-rule { width: 44px; height: 2px; background: var(--gold); margin: 24px 0; }
.wis-reader p { font-family: var(--font-serif); font-size: 17.5px; line-height: 1.75; color: var(--ink); margin: 0 0 18px; text-wrap: pretty; }
.wis-reader p:first-of-type::first-letter { font-size: 3.4em; float: left; line-height: .8; padding: 6px 10px 0 0; color: var(--accent-ink); font-weight: 500; }

/* ═══════════════ JOIN / VERIFY / REFER ═══════════════ */
.form-shell { max-width: 640px; margin: 0 auto; }
.fbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.back-link { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); background: none; border: none; cursor: pointer; padding: 0; }
.back-link:hover { color: var(--ink); }
.stepper { display: flex; align-items: center; justify-content: center; gap: 4px; margin-bottom: 26px; }
.stepper .s { display: flex; align-items: center; gap: 8px; }
.stepdot { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; background: var(--card); border: 1px solid var(--line); color: var(--ink-3); }
.stepper .active .stepdot { background: var(--accent); border-color: var(--accent); color: var(--accent-ink-on); }
.stepper .done .stepdot { background: var(--leaf); border-color: var(--leaf); color: #fff; }
.steplabel { font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.stepper .active .steplabel { color: var(--ink); }
.stepbar { width: 22px; height: 1px; background: var(--line); margin: 0 4px; }
@media (max-width: 560px){ .steplabel { display: none; } }
.card h2 { font-size: 26px; margin: 0 0 6px; }
.card .sub { font-size: 14.5px; color: var(--ink-2); margin: 0 0 22px; line-height: 1.5; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.field .req { color: var(--gold-ink); }
.field .hint { font-weight: 400; color: var(--ink-3); }
.inp, .ta { width: 100%; border: 1px solid var(--line); border-radius: 11px; padding: 12px 14px; font-family: var(--font-ui); font-size: 15px; color: var(--ink); background: var(--card-2); }
.inp:focus, .ta:focus { outline: none; border-color: var(--accent); }
.ta { min-height: 92px; resize: vertical; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
@media (max-width: 480px){ .grid-2 { grid-template-columns: 1fr; } }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { font-size: 13.5px; font-weight: 500; color: var(--ink-2); background: var(--card); border: 1px solid var(--line); border-radius: 99px; padding: 8px 15px; cursor: pointer; transition: all .13s; }
.choice:hover { border-color: var(--accent); }
.choice.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink-on); }
.note-box { display: flex; gap: 11px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); margin-top: 4px; }
.note-box .ic { color: var(--accent-ink); flex: none; }
.note-box b { color: var(--ink); }
.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 6px 0 18px; }
@media (max-width: 480px){ .review-grid { grid-template-columns: 1fr; } }
.review-row { background: var(--card-2); padding: 12px 15px; }
.review-row .k { display: block; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.review-row .v { font-size: 14.5px; color: var(--ink); margin-top: 3px; }
.consent { display: flex; gap: 11px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.consent input { margin-top: 3px; width: 17px; height: 17px; flex: none; accent-color: var(--accent); }
.consent label { font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.form-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }

/* verify / confirm */
.confirm { max-width: 620px; margin: 0 auto; text-align: center; }
.seal { width: 84px; height: 84px; border-radius: 24px; margin: 0 auto 24px; display: flex; align-items: center; justify-content: center; background: var(--accent); color: var(--accent-ink-on); }
.confirm h1 { font-size: clamp(30px,5vw,44px); margin: 0; }
.confirm .lead { font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 50ch; margin: 16px auto 0; }
.confirm .lead b { color: var(--ink); }
.phone-mock { max-width: 340px; margin: 28px auto 0; background: var(--ink); border-radius: 22px; padding: 16px; text-align: left; }
.phone-mock .sms { background: var(--card-2); border-radius: 14px; padding: 14px 16px; font-size: 14px; line-height: 1.5; color: var(--ink); }
.phone-mock .from { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.phone-mock a { color: var(--accent-ink); font-weight: 600; text-decoration: underline; cursor: pointer; }
.verify-steps { max-width: 460px; margin: 30px auto 0; display: flex; flex-direction: column; gap: 12px; text-align: left; }
.vstep { display: flex; gap: 13px; align-items: flex-start; }
.vn { width: 28px; height: 28px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; background: var(--leaf); color: #fff; }
.vstep.pending .vn { background: var(--card); border: 1px solid var(--line); color: var(--ink-3); }
.vstep h4 { font-size: 15px; margin: 2px 0 3px; font-family: var(--font-ui); font-weight: 700; }
.vstep p { font-size: 13px; color: var(--ink-2); margin: 0; line-height: 1.45; }

/* refer */
.reflink { display: flex; gap: 10px; max-width: 460px; margin: 26px auto 0; }
.reftrack { max-width: 460px; margin: 32px auto 0; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.reftrack-head { display: flex; align-items: center; justify-content: space-between; font-size: 14px; margin-bottom: 16px; }
.reftrack-head b { color: var(--accent-ink); font-size: 18px; }
.refslots { display: flex; gap: 10px; justify-content: center; }
.refslot { width: 54px; height: 54px; border-radius: 14px; border: 1px solid var(--line); background: var(--card-2); color: var(--ink-3); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .14s; }
.refslot.filled { background: var(--leaf); border-color: var(--leaf); color: #fff; }
.refnote { font-size: 13px; color: var(--ink-2); text-align: center; margin: 16px 0 0; line-height: 1.5; }
.refnote b { color: var(--ink); }
.refrules { display: flex; flex-direction: column; gap: 12px; }
.refrule { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.refrule .ic { color: var(--leaf); flex: none; }
.refrule b { color: var(--ink); }

/* small helpers */
.center { text-align: center; }
.mt-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
