:root {
  --canvas: #faf9f5;
  --ink: #273d35;
  --muted: #637269;
  --green: #28604e;
  --blue: #315bb3;
  --line: #e4e7dd;
  font-family: "Avenir Next", "Trebuchet MS", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
button, a, summary { touch-action: manipulation; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 6px; }
::selection { background: #f4d580; color: #273d35; }
.wrap { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 5; left: 20px; top: -90px; padding: 14px 20px; border-radius: 10px; color: white; background: var(--green); }
.skip-link:focus { top: 14px; }
.site-header { min-height: 108px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-type { display: flex; flex-direction: column; gap: 1px; }
.brand-name { font-size: 25px; font-weight: 750; letter-spacing: -.9px; line-height: 1.2; }
.brand-dot { color: #c1902e; }
.brand-caption { font-size: 12px; letter-spacing: 3px; color: var(--muted); }
.header-nav { display: flex; gap: 30px; font-size: 14px; font-weight: 550; }
.header-nav a { padding-block: 12px; text-underline-offset: 6px; }
.header-nav a:hover { text-decoration: underline; }
.welcome { display: flex; justify-content: space-between; align-items: center; padding: 45px 0 35px; gap: 24px; }
.welcome h1 { margin: 0; font-size: clamp(32px, 3.5vw, 46px); font-weight: 750; letter-spacing: -1.6px; line-height: 1.4; }
.welcome-copy > p { margin: 12px 0 0; font-size: 17px; line-height: 1.8; color: var(--muted); }
.welcome-note { flex: none; margin: 0 32px 0 0; display: flex; flex-direction: column; align-items: center; transform: rotate(-5deg); color: #688774; }
.welcome-note svg { width: 100px; height: 58px; margin-bottom: -3px; }
.welcome-note span { font-size: 12px; letter-spacing: .6px; }
.projects { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.project { min-width: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid #e2e5de; border-radius: 24px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.project:hover { border-color: #b5c0b0; box-shadow: 0 10px 30px #253f3210; }
.project-art { height: 228px; flex: none; position: relative; overflow: hidden; }
.english-art { background: #eaf0fc; }
.english-orbit { position: absolute; width: 290px; height: 290px; top: -28px; left: calc(50% - 145px); border: 1px dashed #b8c9eb; border-radius: 50%; }
.flashcard { position: absolute; display: flex; flex-direction: column; align-items: center; padding: 12px 10px 10px; background: #fffcf6; border: 1px solid #fff; border-radius: 13px; box-shadow: 0 7px 12px #36507a16; }
.flashcard img { width: 100%; height: 110px; object-fit: contain; }
.flashcard > span { font-size: 18px; font-weight: 650; line-height: 1.2; margin-top: 4px; color: #304b6c; }
.card-apple { width: 124px; left: calc(50% - 186px); top: 58px; transform: rotate(-13deg); }
.card-apple img { height: 97px; }
.card-book { width: 122px; left: calc(50% + 66px); top: 62px; transform: rotate(13deg); }
.card-book img { height: 97px; }
.card-lion { width: 166px; left: calc(50% - 84px); top: 32px; transform: rotate(3deg); z-index: 1; }
.card-lion img { height: 125px; }
.art-letter { position: absolute; top: 21px; left: 31px; font-size: 30px; font-weight: 700; letter-spacing: -3px; color: #7696cc; transform: rotate(-12deg); }
.art-spark { position: absolute; font-size: 26px; color: #dfad39; }
.spark-one { right: 33px; top: 111px; }
.art-bubble { position: absolute; z-index: 2; top: 20px; left: calc(50% + 61px); padding: 8px 13px; background: #f5d577; border-radius: 14px 14px 14px 2px; font-size: 14px; font-weight: 650; transform: rotate(8deg); color: #674f1e; }
.english-squiggle { position: absolute; width: 45px; height: 25px; left: 38px; bottom: 19px; color: #7a9bc9; transform: rotate(-8deg); }
.weiqi-art { background: #e9f0e8; }
.board-halo { position: absolute; width: 300px; height: 300px; left: calc(50% - 150px); top: -32px; background: #dce8da; border-radius: 50%; }
.go-board { position: absolute; width: 320px; height: 216px; max-width: none; left: calc(50% - 160px); top: 7px; transform: rotate(-8deg); }
.go-thought { position: absolute; z-index: 1; right: 22px; top: 22px; color: #54775a; font-size: 12px; transform: rotate(6deg); }
.go-spark { position: absolute; width: 28px; height: 28px; top: 38px; left: 37px; color: #749b71; transform: rotate(12deg); }
.loose-stone { position: absolute; width: 29px; height: 29px; border-radius: 50%; box-shadow: 1px 4px 3px #223c2929; }
.stone-black { right: 48px; bottom: 34px; background: radial-gradient(circle at 32% 25%, #555954, #222b24 66%); }
.stone-white { right: 24px; bottom: 18px; background: radial-gradient(circle at 32% 25%, #fff, #e4e6db 80%); border: 1px solid #d4d8c9; }
.project-body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 25px 32px 27px; }
.project-subtitle { margin: 0 0 4px; font-size: 13px; font-weight: 550; color: var(--blue); }
.weiqi .project-subtitle { color: #52745a; }
.project h2 { margin: 0; font-size: 29px; letter-spacing: -.7px; font-weight: 700; line-height: 1.5; }
.project-description { margin: 10px 0 15px; font-size: 15px; line-height: 1.85; color: var(--muted); }
.project-features { display: flex; gap: 0; flex-wrap: wrap; list-style: none; padding: 0; margin: auto 0 23px; color: #69776e; font-size: 12px; line-height: 1.8; }
.project-features li + li::before { content: ""; display: inline-block; width: 3px; height: 3px; margin: 0 10px 3px; background: #abb6aa; border-radius: 50%; }
.project-cta { display: inline-flex; align-items: center; justify-content: space-between; min-width: 174px; min-height: 46px; padding: 11px 15px 11px 19px; gap: 16px; border-radius: 12px; background: var(--blue); color: white; font-size: 14px; font-weight: 600; }
.project-cta svg { width: 20px; height: 20px; transition: transform .2s; }
.weiqi .project-cta { background: var(--green); }
.project:hover .project-cta svg { transform: translateX(3px); }
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; padding: 38px 3px 32px; margin-top: 37px; border-top: 1px solid var(--line); }
.about-heading { display: flex; align-items: flex-start; gap: 18px; }
.little-flower { width: 43px; height: 55px; flex: none; margin-top: -6px; }
.about h2 { margin: 4px 0 0; font-size: 20px; font-weight: 650; letter-spacing: -.4px; }
.about-copy > p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.95; }
.usage { margin-top: 15px; font-size: 12px; color: #56685d; }
.usage summary { list-style: none; display: flex; align-items: center; gap: 7px; width: fit-content; cursor: pointer; min-height: 32px; }
.usage summary::-webkit-details-marker { display: none; }
.usage summary > svg { width: 17px; height: 17px; }
.details-plus { margin-left: 7px; font-size: 17px; font-weight: 400; }
.usage[open] .details-plus { transform: rotate(45deg); }
.usage ul { padding-left: 19px; margin: 6px 0 0; line-height: 1.9; }
.usage li + li { margin-top: 5px; }
.site-footer { border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px 30px; color: #728074; font-size: 11px; }
.site-footer > span:last-child { display: flex; align-items: center; gap: 9px; }
.site-footer svg { width: 16px; height: 16px; color: #8e9c89; }
@media (min-width: 1500px) { .welcome { padding-block: 54px 42px; } .project-art { height: 248px; } .flashcard { margin-top: 10px; } .go-board { top: 17px; } }
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
  .welcome-note { margin-right: 0; }
  .project-body { padding: 24px; }
  .project-art { height: 214px; }
  .flashcard { scale: .9; transform-origin: center center; }
  .card-apple { left: calc(50% - 174px); }
  .card-book { left: calc(50% + 54px); }
  .go-board { width: 300px; height: 202px; left: calc(50% - 150px); top: 6px; }
  .about { gap: 24px; }
  .about h2 { font-size: 18px; }
  .about-heading { gap: 10px; }
  .desktop-break { display: none; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 90px; gap: 16px; }
  .header-nav { gap: 18px; font-size: 12px; }
  .brand-name { font-size: 23px; }
  .brand-caption { font-size: 10px; letter-spacing: 2.5px; }
  .brand { gap: 9px; }
  .brand img { width: 38px; height: 38px; }
  .welcome { padding-block: 33px 27px; }
  .welcome h1 { font-size: 34px; letter-spacing: -1px; }
  .welcome-copy > p { font-size: 15px; margin-top: 10px; }
  .welcome-note { display: none; }
  .projects { gap: 18px; }
  .project-art { height: 185px; }
  .flashcard { scale: .76; top: 30px; }
  .card-apple { left: calc(50% - 153px); }
  .card-book { left: calc(50% + 33px); }
  .card-lion { top: 12px; }
  .art-bubble { top: 14px; left: calc(50% + 43px); font-size: 11px; padding: 6px 9px; }
  .art-letter { left: 16px; top: 14px; font-size: 23px; }
  .spark-one { right: 16px; top: 140px; font-size: 20px; }
  .english-squiggle { left: 18px; bottom: 13px; width: 32px; }
  .go-board { width: 264px; height: 178px; left: calc(50% - 132px); top: 4px; }
  .go-thought { right: 15px; top: 14px; font-size: 10px; }
  .go-spark { left: 19px; top: 28px; width: 23px; }
  .loose-stone { width: 23px; height: 23px; }
  .stone-black { right: 30px; bottom: 26px; }
  .stone-white { right: 12px; bottom: 12px; }
  .project-body { padding: 21px; }
  .project h2 { font-size: 26px; }
  .project-description { font-size: 14px; }
  .project-features { font-size: 11px; }
  .project-features li + li::before { margin-inline: 6px; }
  .about { grid-template-columns: 1fr; gap: 15px; margin-top: 30px; padding-top: 26px; }
  .about-heading { align-items: center; gap: 12px; }
  .little-flower { width: 30px; height: 39px; margin: 0; }
  .about h2 { margin: 0; }
}
@media (max-width: 600px) {
  .header-nav a:first-child { display: none; }
  .welcome h1 { font-size: clamp(27px, 7.6vw, 36px); }
  .welcome-copy > p span { display: block; }
  .projects { grid-template-columns: 1fr; gap: 24px; }
  .project { border-radius: 21px; }
  .project-art { height: 210px; }
  .flashcard { scale: .9; top: 48px; }
  .card-apple { left: calc(50% - 168px); }
  .card-book { left: calc(50% + 48px); }
  .card-lion { top: 18px; }
  .art-letter { left: 23px; top: 20px; font-size: 28px; }
  .art-bubble { left: calc(50% + 53px); top: 20px; font-size: 13px; }
  .spark-one { right: 18px; top: 124px; }
  .go-board { width: 300px; height: 202px; left: calc(50% - 150px); top: 4px; }
  .go-thought { top: 18px; right: 18px; font-size: 11px; }
  .go-spark { left: 25px; top: 32px; }
  .project-body { padding: 23px; }
  .project h2 { font-size: 28px; }
  .project-description { font-size: 15px; margin-block: 10px 13px; }
  .project-features { font-size: 12px; margin-bottom: 21px; }
  .project-features li + li::before { margin-inline: 9px; }
  .project-cta { width: 100%; min-height: 48px; padding-inline: 18px; font-size: 15px; }
  .about { margin-top: 32px; padding-bottom: 27px; }
  .about-copy > p { font-size: 14px; }
  .usage { font-size: 12px; }
  .site-footer { font-size: 10px; gap: 10px; padding-block: 20px 26px; }
}
@media (min-width: 761px) and (max-height: 850px) {
  .site-header { min-height: 90px; }
  .welcome { padding-block: 30px 26px; }
  .project-art { height: 200px; }
  .project-body { padding-block: 21px 23px; }
  .go-board { width: 290px; height: 196px; left: calc(50% - 145px); top: 1px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
