:root {
  color-scheme: dark;
  --ink: #201d36;
  --muted: #77738a;
  --purple: #7658ef;
  --purple-dark: #5c3dd4;
  --mint: #b8f2dc;
  --cream: #f7f5ff;
  --line: #e7e3f3;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 64px));
  height: 84px;
  color: #fff;
  transform: translateX(-50%);
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 750; letter-spacing: 2px; }
.brand img { border-radius: 9px; background: #fff; object-fit: contain; }
.header-note { color: #c5c0dd; font-size: 13px; letter-spacing: 1px; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  min-height: 690px;
  padding: 130px max(32px, calc((100% - 1120px) / 2)) 80px;
  overflow: hidden;
  color: #fff;
  background: #17152b;
}
.hero::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  mask-image: linear-gradient(to bottom, #000, transparent);
}
.hero-glow { position: absolute; top: -260px; right: -120px; width: 760px; height: 760px; border-radius: 50%; background: radial-gradient(circle, rgba(127,91,244,.35), transparent 65%); }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 22px; color: #b9addf; font-size: 13px; font-weight: 600; letter-spacing: 2px; }
.eyebrow > span { width: 22px; height: 2px; background: var(--mint); }
.hero h1 { margin: 0; font-size: clamp(40px, 4.7vw, 64px); line-height: 1.24; letter-spacing: -1px; }
.hero h1 span { color: var(--mint); }
.hero-subtitle { margin: 26px 0 22px; color: #c7c2da; font-size: 18px; line-height: 1.8; }
.hero-focus { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 22px; }
.focus-label { color: #c7c2da; font-size: 14px; font-weight: 600; }
.focus-tag { padding: 7px 15px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.06); color: #e5e0f5; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.focus-tag:hover { border-color: var(--purple); background: rgba(118,88,239,.22); }
.focus-tag:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.focus-tag.selected { background: var(--purple); border-color: var(--purple-dark); color: #fff; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 38px; padding: 0; list-style: none; }
.hero-points li { padding: 7px 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: #e5e0f5; font-size: 13px; }
.hero-cta { display: inline-flex; align-items: center; gap: 30px; padding: 16px 25px; border-radius: 10px; color: #241b46; background: var(--mint); font-weight: 700; transition: transform .2s, background .2s; }
.hero-cta:hover { background: #d0faea; transform: translateY(-2px); }

.hero-art { position: relative; display: grid; place-items: center; min-height: 420px; }
.orbit { position: absolute; border: 1px solid rgba(184,242,220,.16); border-radius: 50%; }
.orbit-one { width: 390px; height: 390px; }
.orbit-two { width: 490px; height: 490px; border-style: dashed; opacity: .55; }
.tetris-board { position: relative; width: 252px; height: 330px; padding: 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 20px; background: rgba(255,255,255,.045); box-shadow: 0 35px 90px rgba(0,0,0,.28); transform: rotate(6deg); backdrop-filter: blur(8px); }
.block { position: absolute; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.4); border-radius: 8px; box-shadow: inset 0 2px 0 rgba(255,255,255,.35), 0 5px 12px rgba(0,0,0,.15); }
.block-1 { top: 18px; left: 18px; background: #9e85f6; }
.block-2 { top: 18px; left: 74px; background: #9e85f6; }
.block-3 { top: 74px; left: 74px; background: #9e85f6; }
.block-4 { top: 130px; left: 130px; background: var(--mint); }
.block-5 { top: 130px; left: 186px; background: var(--mint); }
.block-6 { top: 186px; left: 186px; background: var(--mint); }
.block-7 { top: 242px; left: 18px; background: #f2c98d; }
.block-8 { top: 242px; left: 74px; background: #f2c98d; }
.block-9 { top: 242px; left: 130px; background: #f2c98d; }
.block-10 { top: 242px; left: 186px; background: #f2c98d; }
.block-11 { top: 18px; left: 186px; background: #7658ef; opacity: .35; }
.block-12 { top: 74px; left: 18px; background: #7658ef; opacity: .35; }
.block-13 { top: 130px; left: 18px; background: #7658ef; opacity: .35; }
.block-14 { top: 130px; left: 74px; background: #7658ef; opacity: .35; }
.block-15 { top: 186px; left: 74px; background: #7658ef; opacity: .35; }
.floating-card { position: absolute; right: 0; bottom: 48px; display: flex; flex-direction: column; gap: 5px; padding: 17px 23px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: rgba(37,31,66,.86); box-shadow: 0 15px 40px rgba(0,0,0,.22); transform: rotate(-3deg); }
.floating-card strong { color: var(--mint); font-size: 15px; }
.floating-card span { color: #c5bedb; font-size: 12px; }

.consult-copy .eyebrow { color: #7863b5; }
.consult-copy h2 { margin: 0 0 18px; font-size: clamp(28px, 3vw, 40px); line-height: 1.35; letter-spacing: -.6px; }

.consult-section { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding: 90px max(32px, calc((100% - 1080px) / 2)); }
.consult-copy { padding-top: 20px; }
.consult-copy > p:not(.eyebrow) { color: var(--muted); line-height: 1.9; }
.consult-note { display: flex; align-items: center; gap: 10px; margin-top: 18px; color: #544d6c; font-size: 14px; }
.consult-note span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #24775b; background: #e3f8ef; font-size: 12px; font-weight: 700; }
.form-card { min-height: 530px; padding: 36px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 22px 70px rgba(61,42,115,.1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; font-size: 14px; font-weight: 600; }
.field b { color: #d14f68; font-weight: 400; }
.field input, .field textarea { width: 100%; border: 1px solid #ddd8e9; border-radius: 9px; outline: none; color: var(--ink); background: #fcfbff; font-size: 15px; font-weight: 400; transition: border-color .2s, box-shadow .2s; }
.field input { height: 49px; padding: 0 14px; }
.field textarea { min-height: 112px; padding: 13px 14px 27px; line-height: 1.7; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(118,88,239,.12); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #d14f68; }
.counter { position: absolute; right: 12px; bottom: 9px; color: #a29bb3; font-size: 11px; font-weight: 400; }
.consent { display: flex; align-items: flex-start; gap: 9px; color: #817a92; font-size: 12px; line-height: 1.7; }
.consent input { flex: 0 0 auto; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--purple); }
.consent a { color: var(--purple); text-decoration: underline; text-underline-offset: 2px; }
.form-error { min-height: 20px; margin: 12px 0 0; color: #c23c55; font-size: 13px; }
.submit-button { width: 100%; height: 52px; border: 0; border-radius: 10px; color: #fff; background: linear-gradient(100deg, #7658ef, #8d6bf4); box-shadow: 0 8px 20px rgba(118,88,239,.25); cursor: pointer; font-weight: 700; transition: opacity .2s, transform .2s; }
.submit-button:hover:not(:disabled) { transform: translateY(-1px); }
.submit-button:disabled { cursor: wait; opacity: .65; }
.form-footnote { margin: 14px 0 0; color: #aaa3b9; font-size: 11px; line-height: 1.7; text-align: center; }
.success-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 450px; text-align: center; }
.success-panel[hidden] { display: none; }
.success-icon { display: grid; place-items: center; width: 70px; height: 70px; margin-bottom: 24px; border-radius: 50%; color: #24775b; background: #e3f8ef; font-size: 34px; }
.success-panel h3 { margin: 0 0 15px; font-size: 25px; }
.success-panel p { max-width: 330px; margin: 0 0 28px; color: var(--muted); line-height: 1.9; }
.success-panel button { padding: 11px 25px; border: 1px solid var(--line); border-radius: 8px; color: var(--purple); background: #fff; cursor: pointer; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 28px max(32px, calc((100% - 1120px) / 2)); color: #9790a9; background: #17152b; font-size: 12px; }
.footer-lines { display: flex; flex-direction: column; gap: 6px; }
.footer-compliance { text-align: right; }
.footer-compliance a { color: inherit; text-decoration: none; }
.footer-compliance a:hover { color: #cfc6e4; text-decoration: underline; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 125px; text-align: center; }
  .hero-copy .eyebrow, .hero-points, .hero-focus { justify-content: center; }
  .hero-art { min-height: 260px; margin-top: 24px; }
  .floating-card { right: calc(50% - 215px); }
  .consult-section { grid-template-columns: 1fr; gap: 35px; }
  .consult-copy { padding-top: 0; }
}

@media (max-width: 560px) {
  .site-header { width: calc(100% - 36px); height: 70px; }
  .header-note { font-size: 11px; }
  .hero { min-height: auto; padding: 95px 22px 45px; }
  .hero h1 { font-size: 37px; }
  .hero-subtitle { font-size: 15px; }
  .hero-art { display: none; }
  .consult-section { padding: 60px 18px; }
  .consult-copy { padding: 0 8px; }
  .form-card { padding: 25px 20px; border-radius: 17px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .site-footer { flex-direction: column; padding: 25px 22px; line-height: 1.7; }
  .footer-compliance { text-align: left; }
}
