:root {
  --personal-ink: #183a35;
  --personal-muted: #5e7770;
  --personal-green: #126c5e;
  --personal-paper: #f3f8f6;
  --personal-line: #d7e7df;
}

body.personal-site {
  color-scheme: light;
  background: var(--personal-paper);
  color: var(--personal-ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.personal-site a { color: inherit; text-decoration: none; }
.personal-site a:focus-visible { outline: 3px solid #c48c26; outline-offset: 5px; border-radius: 4px; }
.personal-site .site-header,
.personal-site .personal-main,
.personal-site .home-footer { width: min(1120px, calc(100% - 80px)); margin: 0 auto; }
.personal-site .site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 106px;
  padding: 22px 0;
  border-bottom: 1px solid var(--personal-line);
}
.site-brand { display: inline-flex; align-items: center; gap: 11px; font-family: Georgia, serif; font-size: 24px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.site-brand small { display: block; margin-top: 6px; color: var(--personal-muted); font-family: "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 10px; font-weight: 500; letter-spacing: .13em; }
.site-mark { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 14px 14px 14px 4px; background: #1b7567; color: #fff; font-family: Georgia, serif; font-size: 26px; font-style: italic; font-weight: 400; }
.personal-site .site-nav { display: flex; align-items: center; gap: 32px; margin: 0; font-size: 14px; font-weight: 600; }
.site-nav a:hover, .back-link:hover { color: var(--personal-green); }
.personal-site .personal-main { padding: 0; }
.home-hero { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 45px; min-height: 560px; padding: 66px 0 78px; }
.hero-copy { position: relative; z-index: 1; }
.intro-label, .section-kicker, .project-category { margin: 0; color: var(--personal-green); font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.intro-label { display: flex; align-items: center; gap: 9px; }
.intro-dot { width: 8px; height: 8px; border-radius: 50%; background: #e9b352; box-shadow: 0 0 0 5px #f9efd6; }
.personal-site h1 { margin: 24px 0 22px; font-family: "Songti SC", "STSong", "SimSun", serif; font-size: clamp(42px, 5vw, 64px); font-weight: 700; letter-spacing: .015em; line-height: 1.25; }
.hero-description { max-width: 32em; margin: 0; color: var(--personal-muted); font-size: 16px; line-height: 1.9; }
.primary-link { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 52px; margin-top: 32px; padding: 0 20px; border-radius: 9px; background: var(--personal-green); color: #fff !important; font-size: 14px; font-weight: 700; }
.primary-link:hover { background: #0d594e; }
.primary-link span, .text-link span, .help-links span { font-size: 18px; line-height: 1; }
.desk-art { position: relative; width: min(100%, 430px); height: 410px; margin-left: auto; }
.desk-orbit { position: absolute; inset: 5% 2% 4% 3%; border-radius: 50%; background: #deeee7; }
.desk-orbit::before { position: absolute; inset: 20px; border: 1px solid #c5ddd2; border-radius: 50%; content: ""; }
.desk-sheet { position: absolute; width: 196px; height: 248px; border-radius: 14px; }
.desk-sheet-back { top: 78px; left: 106px; transform: rotate(-13deg); background: #b7d7c8; }
.desk-sheet-front { top: 68px; left: 133px; padding: 32px 27px; transform: rotate(8deg); background: #fff; box-shadow: 0 24px 40px #345b4d1c; }
.desk-sheet-title { display: block; margin-bottom: 30px; color: #50786d; font-family: Georgia, serif; font-size: 17px; font-style: italic; }
.desk-line { display: block; width: 92px; height: 5px; margin: 13px 0; border-radius: 4px; background: #d8e9e1; }
.desk-line-long { width: 132px; }.desk-line-short { width: 65px; }
.desk-sun { display: block; margin-top: 25px; color: #e2ae46; font-size: 31px; line-height: 1; }
.desk-pencil { position: absolute; top: 108px; right: 55px; width: 12px; height: 175px; transform: rotate(28deg); border-radius: 8px; background: #d7a448; box-shadow: inset -3px 0 #b78338; }
.desk-pencil::after { position: absolute; right: 0; bottom: -15px; left: 0; width: 0; height: 0; border-right: 6px solid transparent; border-bottom: 0; border-left: 6px solid transparent; border-top: 16px solid #c8a16b; content: ""; }
.desk-stamp { position: absolute; right: 31px; bottom: 65px; display: grid; width: 65px; height: 65px; place-items: center; transform: rotate(13deg); border: 1px solid #c6ded2; border-radius: 50%; color: #618879; font-family: Georgia, serif; font-size: 31px; font-style: italic; }
.desk-caption { position: absolute; bottom: 14px; left: 66px; color: #76948a; font-family: Georgia, serif; font-size: 13px; font-style: italic; }
.projects-section, .product-details { padding: 64px 0 75px; border-top: 1px solid var(--personal-line); scroll-margin-top: 20px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-heading h2, .product-help h2 { margin: 8px 0 0; font-family: "Songti SC", "STSong", "SimSun", serif; font-size: 32px; line-height: 1.35; }
.section-heading > p { margin: 0; color: var(--personal-muted); font-size: 14px; }
.project-card { display: grid; grid-template-columns: 190px minmax(0, 1fr) auto; align-items: center; gap: 32px; min-height: 250px; padding: 34px 40px; border: 1px solid #dcece4; border-radius: 20px; background: #fff; }
.project-icon-wrap { display: grid; width: 170px; height: 170px; place-items: center; border-radius: 20px; background: #edf6f1; }
.project-icon-wrap img { display: block; width: 122px; height: 122px; border-radius: 25%; }
.project-copy h3 { margin: 8px 0 12px; font-size: 28px; line-height: 1.3; }
.project-copy > p:not(.project-category) { max-width: 34em; margin: 0; color: var(--personal-muted); font-size: 15px; }
.text-link { display: inline-flex; align-items: center; gap: 16px; margin-top: 20px; color: var(--personal-green) !important; font-size: 14px; font-weight: 700; }
.text-link:hover, .help-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.project-side-note { align-self: end; max-width: 90px; color: #93aea2; font-family: Georgia, serif; font-size: 12px; font-style: italic; line-height: 1.5; text-align: right; }
.closing-note { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 48px 0 60px; color: #729186; }
.closing-note p { margin: 0; font-size: 14px; }.closing-symbol { color: #d2a443; font-size: 22px; }
.personal-site .home-footer { padding: 22px 0 34px; border-top: 1px solid var(--personal-line); color: #718b81; font-size: 12px; line-height: 1.9; opacity: 1; }
.personal-site .home-footer a { color: #4e796d; text-decoration: underline; text-underline-offset: 3px; }
.footer-signature { max-width: none; margin: 0 0 10px; font-family: Georgia, serif; font-size: 13px; font-style: italic; }

.product-hero { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 50px; min-height: 520px; padding: 68px 0 82px; }
.back-link { display: inline-block; margin-bottom: 38px; color: var(--personal-muted) !important; font-size: 13px; }
.product-site h1 { margin: 21px 0 14px; font-size: clamp(44px, 5.4vw, 68px); }
.product-lead { margin: 0 0 20px; color: #315d52; font-family: "Songti SC", "STSong", "SimSun", serif; font-size: clamp(22px, 2.5vw, 30px); line-height: 1.5; }
.product-hero-art { display: grid; min-height: 330px; place-items: center; }
.product-icon-halo { display: grid; width: min(340px, 100%); aspect-ratio: 1; place-items: center; border: 1px solid #c9e1d5; border-radius: 50%; background: #e3f1e9; }
.product-icon-halo img { width: 64%; height: auto; border-radius: 25%; box-shadow: 0 20px 35px #204e4233; }
.feature-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.feature-list article { padding: 26px 8px 12px 0; border-top: 1px solid #bcd8c9; }
.feature-symbol { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 12px; background: #deeee7; color: #187362; font-size: 24px; }
.feature-list h3 { margin: 18px 0 8px; font-size: 18px; }.feature-list p, .product-help p:not(.section-kicker) { margin: 0; color: var(--personal-muted); font-size: 14px; line-height: 1.8; }
.availability-note { margin: 28px 0 0; color: #80998f; font-size: 12px; }
.product-help { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-bottom: 72px; padding: 38px 42px; border-radius: 20px; background: #e4f1e9; }
.product-help h2 { margin-bottom: 12px; font-size: 27px; }.help-links { display: grid; min-width: 200px; gap: 13px; }
.help-links a { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--personal-green); font-size: 14px; font-weight: 700; }

@media (max-width: 720px) {
  .personal-site .site-header, .personal-site .personal-main, .personal-site .home-footer { width: calc(100% - 40px); }
  .personal-site .site-header { min-height: 80px; padding: 15px 0; }
  .personal-site .site-nav { gap: 18px; font-size: 12px; }
  .home-hero, .product-hero { grid-template-columns: minmax(0, 1fr); gap: 16px; min-height: 0; padding: 54px 0 54px; }
  .personal-site h1 { font-size: clamp(39px, 10vw, 54px); }
  .hero-description { font-size: 15px; }.primary-link { margin-top: 26px; }
  .desk-art { width: 310px; max-width: 100%; height: 300px; margin: 8px auto 0; }
  .desk-sheet { width: 145px; height: 185px; }.desk-sheet-back { top: 59px; left: 65px; }.desk-sheet-front { top: 51px; left: 86px; padding: 24px 20px; }
  .desk-sheet-title { margin-bottom: 20px; font-size: 14px; }.desk-line { width: 75px; margin: 10px 0; }.desk-line-long { width: 100px; }.desk-line-short { width: 54px; }.desk-sun { margin-top: 16px; font-size: 24px; }
  .desk-pencil { top: 84px; right: 37px; height: 125px; }.desk-stamp { right: 18px; bottom: 42px; width: 52px; height: 52px; font-size: 25px; }.desk-caption { left: 42px; bottom: 8px; font-size: 11px; }
  .projects-section, .product-details { padding: 47px 0 54px; }.section-heading { align-items: start; flex-direction: column; gap: 8px; }.section-heading h2 { font-size: 28px; }
  .project-card { grid-template-columns: 1fr; gap: 20px; padding: 26px; }.project-icon-wrap { width: 104px; height: 104px; border-radius: 16px; }.project-icon-wrap img { width: 80px; height: 80px; }.project-copy h3 { font-size: 25px; }.project-side-note { display: none; }
  .closing-note { padding: 18px 0 48px; }.product-hero { padding-top: 34px; }.back-link { margin-bottom: 32px; }.product-hero-art { min-height: 250px; }.product-icon-halo { width: 250px; }
  .feature-list { grid-template-columns: 1fr; gap: 18px; }.feature-list article { padding-top: 20px; }.product-help { align-items: start; flex-direction: column; gap: 26px; padding: 28px; }.help-links { width: 100%; }
}

@media (max-width: 360px) {
  .site-brand { font-size: 21px; }.site-mark { width: 35px; height: 35px; font-size: 22px; }
  .personal-site .site-nav { gap: 12px; }.personal-site .site-header, .personal-site .personal-main, .personal-site .home-footer { width: calc(100% - 32px); }
}
