/* The public pages of www.metabazi.app: a royal teal hero with gold detailing (the sign-in page's brand panel), then calm white sections. */
:root {
  --bg: #f1f6f5; --surface: #ffffff; --surface-2: #f4f9f8; --ink: #0c2a2f; --muted: #4d6769; --line: #d2e2e0;
  --accent: #0a5866; --accent-ink: #07444f; --accent-soft: #dfefed; --on-accent: #fffaf0; --gold: #8f6a1c;
  --panel: #05323b; --panel-2: #0b5562; --panel-ink: #fbf4e4; --panel-muted: #b3d4d0; --panel-line: #2f7177; --panel-gold: #e2bd63;
  --font-display: "Noto Serif SC", "Songti SC", "STSong", Georgia, serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --gold-metal: linear-gradient(100deg, #c08a2e 0%, #e2b452 14%, #f8e3a3 28%, #fff8e0 34%, #ecc566 46%, #b98330 60%, #e4b955 74%, #f9e6aa 87%, #c9963a 100%);
  --r: 12px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #06181b; --surface: #0c2326; --surface-2: #112c30; --ink: #e5f3f1; --muted: #94b5b2; --line: #21454a;
  --accent: #5ccfc3; --accent-ink: #8ee2d9; --accent-soft: #113a3c; --on-accent: #032220; --gold: #e6c36e;
  --panel: #031e24; --panel-2: #093a44; --panel-muted: #a3c8c4; --panel-line: #1d585e; --panel-gold: #e6c36e; color-scheme: dark } }
:root[data-theme="dark"] {
  --bg: #06181b; --surface: #0c2326; --surface-2: #112c30; --ink: #e5f3f1; --muted: #94b5b2; --line: #21454a;
  --accent: #5ccfc3; --accent-ink: #8ee2d9; --accent-soft: #113a3c; --on-accent: #032220; --gold: #e6c36e;
  --panel: #031e24; --panel-2: #093a44; --panel-muted: #a3c8c4; --panel-line: #1d585e; --panel-gold: #e6c36e; color-scheme: dark }
* { box-sizing: border-box }
html { -webkit-text-size-adjust: 100% }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font-body) }
a { color: var(--accent-ink) }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 max(16px, env(safe-area-inset-left, 0px)) }
.zh { font-family: var(--font-display) }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.25; text-wrap: balance; margin: 0 }
h2 { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 12px }
h3 { font-size: 18px }
p { margin: 0 0 12px }
.skip { position: absolute; left: -9999px } .skip:focus { left: 16px; top: 8px; z-index: 9; background: var(--surface); padding: 8px 12px; border-radius: 8px }

/* header and hero share the brand panel */
.hero { background: radial-gradient(120% 90% at 0% 0%, var(--panel-2), var(--panel) 60%); color: var(--panel-ink); border-bottom: 3px solid; border-image: linear-gradient(90deg, #8a5a14, #f6df9a 22%, #c9962f 45%, #fff6d8 62%, #a8721f 85%, #e3b752) 1; position: relative; overflow: hidden }
.hero a { color: var(--panel-ink) }
.top { display: flex; align-items: center; gap: 16px; padding-block: 14px; flex-wrap: wrap }
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto }
.mark svg { width: 34px; height: 34px; color: var(--panel-gold) }
.mark b { font: 700 21px var(--font-display); letter-spacing: .01em }
.top nav { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; font-size: 15px }
.top nav a { text-decoration: none; opacity: .9 } .top nav a:hover { opacity: 1; text-decoration: underline }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 999px; font: 600 15px var(--font-body); text-decoration: none; white-space: nowrap }
.btn.gold { background: var(--gold-metal); background-size: 200% 100%; color: #2b1d00 !important; box-shadow: 0 1px 0 rgb(255 255 255 / .35) inset, 0 2px 10px rgb(0 0 0 / .25) }
.btn.ghost { border: 1px solid var(--panel-line); color: var(--panel-ink) }
.btn.solid { background: var(--accent); color: var(--on-accent) !important }
.hero-body { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px; align-items: center; padding-block: 40px 56px }
.hero-body.sub { grid-template-columns: 1fr; padding-block: 28px 44px }
.hero h1 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 700; max-width: 20ch }
.hero-body.sub h1 { font-size: clamp(28px, 3.8vw, 42px); max-width: 26ch }
.gilt { background: var(--gold-metal); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; padding-bottom: .12em }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--panel-muted); max-width: 60ch; margin: 18px 0 26px }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap }
.crumbs { font-size: 14px; color: var(--panel-muted); margin-bottom: 14px } .crumbs a { color: var(--panel-muted) }
.dial { justify-self: center; width: min(320px, 70vw); aspect-ratio: 1; color: var(--panel-gold); filter: drop-shadow(0 6px 24px rgb(0 0 0 / .35)) }
.dial .ring { fill: none; stroke: var(--panel-line); stroke-width: 1.2 }
.dial text { fill: var(--panel-gold); font: 600 15px var(--font-display); text-anchor: middle; dominant-baseline: central }
@media (max-width: 760px) { .hero-body { grid-template-columns: 1fr } .dial { width: 200px; order: -1 } .top nav .opt { display: none } }

main section { padding: 48px 0; border-bottom: 1px solid var(--line) }
main section:last-of-type { border-bottom: 0 }
.intro { color: var(--muted); max-width: 66ch; margin-bottom: 24px }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: flex; gap: 14px; align-items: flex-start }
.card .glyph { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font: 700 19px var(--font-display); color: var(--gold); border: 1.5px solid currentColor }
.card h3 { margin-bottom: 4px } .card p { color: var(--muted); font-size: 15px; margin: 0 }
.card a { text-decoration: none } .card a:hover { text-decoration: underline }
.prose { max-width: 72ch } .prose ul { padding-left: 20px; margin: 0 0 12px } .prose li { margin: 4px 0 }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; counter-reset: s; padding: 0; list-style: none }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; counter-increment: s }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 600; margin-bottom: 8px }
table.prices { width: 100%; max-width: 760px; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden }
.prices th, .prices td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top }
.prices td:last-child { white-space: nowrap; font-variant-numeric: tabular-nums } .prices tr:last-child td { border-bottom: 0 }
@media (max-width: 560px) { .prices td:last-child { white-space: normal } }
.note { color: var(--muted); font-size: 14px; margin-top: 10px }
details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px; margin-bottom: 10px; max-width: 820px }
summary { cursor: pointer; font-weight: 600 } details p { margin: 10px 0 0; color: var(--muted) }
.about { background: var(--surface-2) }
.band { background: var(--accent-soft); border-radius: var(--r); padding: 28px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between }
.band h2 { margin: 0 }
footer { padding: 32px 0 calc(32px + env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: 14px }
footer .cols { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-bottom: 14px } footer a { color: var(--muted) }
/* the MetaBazi lockup: the product name with a quiet "by Xity" line under it (the company, set in the body font) */
.mark .name { display: flex; flex-direction: column; line-height: 1.05 }
.mark small { font: 500 11px/1.2 var(--font-body); letter-spacing: .06em; color: var(--panel-muted); margin-top: 3px }
footer .legal { margin-top: -4px }
.legal-page section { padding: 28px 0 }
.legal-page h2 { font-size: 21px }
@media (max-width: 440px) { .top { gap: 10px } .mark { gap: 8px } .mark svg { width: 28px; height: 28px } .mark b { font-size: 18px } .top nav { gap: 4px 12px; font-size: 14px } .top .btn { padding: 0 14px; min-height: 40px; font-size: 14px } }
