:root {
  color-scheme: light;
  --ink: #20245f;
  --ink-soft: #4e5576;
  --paper: #f8f9f5;
  --sky: #e8efff;
  --blue: #7b9bfa;
  --orange: #ff9e69;
  --mint: #d2f2d9;
  --line: #c8d2e8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--sky); font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
.skip-link { position: absolute; z-index: 20; top: -100px; left: 16px; padding: 10px 14px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 12px; }
.page-shell { max-width: 1600px; min-height: 100vh; margin: 0 auto; padding: 0 clamp(20px, 5.2vw, 88px); background: var(--paper); overflow: hidden; }
.site-header { display: flex; justify-content: space-between; align-items: center; height: 104px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { display: grid; grid-template-columns: repeat(2, 11px); grid-template-rows: repeat(2, 11px); gap: 3px; transform: rotate(-13deg); }
.brand-mark span { display: block; border-radius: 3px; background: var(--ink); }
.brand-mark span:nth-child(2) { background: var(--orange); }
.brand-mark span:nth-child(3) { background: var(--blue); }
.brand-name, .footer-brand { font-family: "Trebuchet MS", "Arial Rounded MT Bold", sans-serif; font-weight: 800; font-size: 30px; letter-spacing: -0.075em; line-height: 1; }
.brand-name span, .footer-brand span:first-child { color: #6c80c5; font-weight: 400; }
.header-link { font-size: 14px; font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 5px; }
.header-link span { display: inline-block; margin-left: 8px; font-size: 17px; }
.header-link:hover, .text-link:hover { color: #556ddd; }

.hero { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: clamp(28px, 5vw, 76px); align-items: center; min-height: 690px; padding: 80px 0 96px; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow, .section-kicker, .playfield-label { font-family: Consolas, "Courier New", monospace; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 33px; white-space: nowrap; }
.eyebrow-dot { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.eyebrow-rule { width: 25px; height: 1px; background: var(--line); }
h1, h2 { font-family: "Trebuchet MS", "Arial Rounded MT Bold", "PingFang SC", sans-serif; letter-spacing: -.065em; }
h1 { max-width: 800px; margin: 0; font-size: clamp(54px, 6.5vw, 105px); line-height: 1.04; font-weight: 800; }
h1 em { color: #6684e1; font-style: normal; }
.hero-zh { margin: 22px 0 0; font-size: clamp(20px, 2.1vw, 28px); font-weight: 650; letter-spacing: .015em; }
.hero-description { max-width: 500px; margin: 39px 0 0; color: var(--ink-soft); font-size: 17px; line-height: 1.7; }
.hero-description-zh { margin-top: 8px; font-size: 15px; }
.text-link { display: inline-flex; align-items: center; gap: 13px; margin-top: 33px; padding-bottom: 6px; border-bottom: 1px solid var(--ink); text-decoration: none; font-size: 14px; font-weight: 700; }
.text-link span { font-size: 20px; line-height: 1; }

.playfield { position: relative; height: min(38vw, 520px); min-height: 410px; overflow: hidden; border-radius: 28px; background: #e3ebff; box-shadow: inset 0 0 0 1px #d3def6; }
.playfield-grid { position: absolute; inset: 0; background-image: linear-gradient(#b8c9ef77 1px, transparent 1px), linear-gradient(90deg, #b8c9ef77 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(145deg, transparent 8%, #000 80%); }
.playfield-label { position: absolute; z-index: 2; color: #5e70aa; }
.playfield-label-top { top: 27px; left: 29px; }
.playfield-label-bottom { bottom: 26px; right: 30px; }
.shape { position: absolute; display: block; }
.shape-a { width: 44%; aspect-ratio: 1; top: 21%; left: 26%; border: clamp(25px, 4.4vw, 62px) solid var(--ink); border-radius: 48%; transform: rotate(-16deg); }
.shape-b { width: 24%; aspect-ratio: 1; top: 13%; left: 58%; border-radius: 50%; background: var(--orange); box-shadow: inset -18px -18px 0 #f58559; }
.shape-c { width: 26%; aspect-ratio: 1; bottom: 11%; left: 10%; border-radius: 24%; background: var(--blue); transform: rotate(16deg); box-shadow: 14px 15px 0 #6585e5; }
.shape-d { width: 18%; aspect-ratio: 1; bottom: 10%; right: 11%; border-radius: 25%; background: var(--mint); transform: rotate(-18deg); box-shadow: inset -10px -10px 0 #a9dfb9; }
.shape-e { width: 11%; aspect-ratio: 1; top: 22%; left: 10%; border-radius: 50% 50% 8px 50%; background: #fffdf0; transform: rotate(-25deg); }
.playfield-star { position: absolute; z-index: 1; top: 3%; right: 9%; color: var(--ink); font-size: 78px; line-height: 1; transform: rotate(9deg); }

.about { padding: 57px 0 87px; border-top: 1px solid var(--line); }
.section-kicker { color: #6472a6; }
.about-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .68fr); gap: 6vw; align-items: end; margin-top: 28px; }
h2 { margin: 0; font-size: clamp(43px, 5.4vw, 77px); line-height: 1.09; }
h2 span { color: #6684e1; }
.about-copy { max-width: 440px; padding-bottom: 8px; color: var(--ink-soft); font-size: 16px; line-height: 1.75; }
.about-copy p { margin: 0 0 12px; }
.contact { display: flex; justify-content: space-between; align-items: end; gap: 30px; padding: 34px 42px 40px; margin: 0 0 85px; border-radius: 24px; background: var(--ink); color: #f8f9f5; }
.contact .section-kicker { margin: 0 0 13px; color: #bed0ff; }
.contact h2 { font-size: clamp(42px, 4.5vw, 65px); }
.contact p:not(.section-kicker) { margin: 9px 0 0; font-size: 15px; color: #d9e0ff; }
.contact a { margin-bottom: 5px; border-bottom: 1px solid #d9e0ff; padding-bottom: 6px; text-decoration: none; font-size: clamp(16px, 1.8vw, 22px); overflow-wrap: anywhere; }
.contact a span { margin-left: 7px; }
.contact a:hover { color: var(--orange); }
.site-footer { display: flex; gap: 20px; justify-content: space-between; align-items: center; min-height: 116px; border-top: 1px solid var(--line); }
.footer-brand { font-size: 23px; white-space: nowrap; }
.footer-spark { margin-left: 8px; color: var(--orange); font-size: 22px; vertical-align: 2px; }
.footer-note, .copyright { color: #6d7494; font-size: 12px; }

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding: 68px 0 75px; }
  .playfield { width: 100%; height: 420px; }
  .about-content { grid-template-columns: 1fr; gap: 20px; }
  .contact { align-items: start; flex-direction: column; }
}

@media (max-width: 600px) {
  .page-shell { padding: 0 20px; }
  .site-header { height: 78px; }
  .brand-name { font-size: 25px; }
  .header-link { font-size: 13px; }
  .hero { gap: 38px; padding: 55px 0 65px; }
  .eyebrow { flex-wrap: wrap; gap: 7px; font-size: 10px; margin-bottom: 25px; }
  .eyebrow-rule { display: none; }
  h1 { font-size: clamp(49px, 11.5vw, 76px); }
  .hero-description { margin-top: 28px; font-size: 16px; }
  .hero-description-zh { margin-top: 8px; font-size: 14px; }
  .playfield { min-height: 0; height: 340px; }
  .playfield-grid { background-size: 40px 40px; }
  .playfield-label { font-size: 9px; }
  .shape-a { border-width: 38px; }
  .about { padding: 47px 0 55px; }
  .contact { margin-bottom: 56px; padding: 29px 24px 32px; }
  .site-footer { flex-wrap: wrap; justify-content: flex-start; align-content: center; column-gap: 24px; row-gap: 10px; padding: 24px 0; }
  .footer-note { width: 100%; order: 3; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
