:root {
  color-scheme: light;
  --ink: #242331;
  --subtle: #565361;
  --paper: #f9f7f3;
  --night: #121420;
  --violet: #d7cbfe;
  --line: #dedad5;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --serif: "Baskervville", "Songti SC", "Noto Serif CJK SC", "SimSun", serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid #8560df; outline-offset: 5px; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
.wrap { width: min(100% - 104px, 1200px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 3; inset: 12px auto auto 12px; transform: translateY(-160%); padding: 12px; background: white; }
.skip-link:focus { transform: none; }

.site-header { background: var(--night); color: #f7f4ff; }
.header-inner { min-height: 77px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 24px; border-bottom: 1px solid #ffffff21; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; justify-self: start; width: fit-content; font-size: 17px; font-weight: 650; letter-spacing: -.035em; white-space: nowrap; }
.mark { width: 25px; height: 25px; position: relative; border: 1px solid #c6b1fe; border-radius: 50%; background: radial-gradient(circle at 37% 28%, #efeaff 0%, #c5afff 13%, #674eca 43%, #23213d 77%); }
.mark::after { content: ""; position: absolute; inset: 6px -4px; border-radius: 50%; border: 1px solid #f1e7ff; transform: rotate(-40deg); }
.header-inner nav { font-size: 13px; color: #c2bfce; }
.header-inner nav a:hover, .footer-inner nav a:hover { color: white; }
.header-cta { justify-self: end; border: 1px solid #ffffff36; border-radius: 100px; padding: 9px 15px; font-size: 13px; }
.header-cta:hover { background: #ffffff15; }
.header-cta span { margin-left: 6px; color: var(--violet); }

.hero { background: var(--night); color: #f8f5ff; overflow: hidden; }
.hero-inner { position: relative; min-height: 640px; display: grid; align-content: center; padding-block: 64px 146px; isolation: isolate; }
.hero-copy { position: relative; z-index: 1; width: min(51%, 550px); }
.eyebrow { font-size: 13px; letter-spacing: .12em; color: #ded3fb; display: flex; align-items: center; gap: 11px; margin-bottom: 30px; }
.eyebrow span { width: 7px; height: 7px; display: inline-block; background: #d8bbff; border-radius: 50%; box-shadow: 0 0 13px 3px #a984ff5c; }
.hero h1 { font: 700 clamp(44px, 5.75vw, 84px)/1.04 var(--serif); letter-spacing: -.072em; margin-left: -.04em; }
.hero h1 em { font-style: normal; color: var(--violet); }
.hero-intro { max-width: 365px; font-size: 15px; line-height: 1.95; color: #cdc9db; margin-top: 25px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 12px 18px; font-size: 14px; font-weight: 650; border-radius: 7px; transition: background-color .2s ease; }
.button-light { margin-top: 29px; background: #e5dbff; color: #211a36; }
.button-light:hover { background: #f7f0ff; }
.button span { font-size: 18px; line-height: 1; }
.hero-visual { position: absolute; z-index: 0; inset: 0 -60px auto auto; width: min(69%, 805px); height: 100%; display: grid; place-items: center; pointer-events: none; }
.hero-visual canvas { display: block; width: 100%; height: auto; }
.hero-notes { display: flex; position: absolute; inset: auto 0 0; min-height: 65px; border-top: 1px solid #ffffff26; align-items: center; gap: 36px; font-size: 13px; color: #bbb6cb; }
.hero-notes span { display: inline-flex; align-items: center; gap: 9px; }
.hero-notes span + span::before { content: ""; width: 1px; height: 11px; background: #ffffff39; margin-right: 20px; }
.hero-notes i { width: 6px; height: 6px; border-radius: 50%; background: #a9cab9; }

.experience { padding-block: 84px 96px; }
.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 26px 40px; padding-bottom: 39px; }
h2 { font: 700 clamp(35px, 5.2vw, 66px)/1.18 var(--serif); letter-spacing: -.061em; }
.section-intro p, .local-copy > p { color: var(--subtle); font-size: 15px; line-height: 1.95; max-width: 315px; }
.narrow-break { display: none; }
.mode-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.mode-tabs button { position: relative; display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 8px 6px; color: #595568; border: 0; background: transparent; cursor: pointer; white-space: nowrap; font-size: 14px; }
.mode-tabs button:hover { color: #341a70; background: #ece5f35e; }
.mode-tabs button[aria-selected="true"] { color: #352065; font-weight: 700; background: #ece5f370; }
.mode-tabs button[aria-selected="true"]::after { content: ""; height: 2px; background: #593897; position: absolute; bottom: -1px; inset-inline: 0; }
.mode-name { font: 700 19px/1.1 var(--serif); color: #62468a; }
.mode-panel { display: grid; grid-template-columns: .72fr 1.5fr; align-items: center; gap: clamp(24px, 5vw, 70px); padding: 30px; margin-top: 21px; background: #efecf2; border: 1px solid #e4dfeb; border-radius: 13px; }
.mode-panel[hidden] { display: none; }
.panel-copy { padding: 12px 0 12px clamp(0px, 1.9vw, 26px); }
.panel-copy h3 { font: 700 clamp(24px, 3vw, 40px)/1.23 var(--serif); letter-spacing: -.06em; }
.panel-copy p { margin-top: 18px; font-size: 14px; line-height: 1.95; color: var(--subtle); }
.panel-copy .panel-tip { margin-top: 22px; font-size: 12px; }
kbd { display: inline-grid; min-width: 23px; min-height: 23px; place-items: center; background: #fffafc; border: 1px solid #ded6e6; border-bottom-width: 2px; border-radius: 5px; color: #513677; }
kbd:last-of-type { margin-right: 6px; }
.product-shot { border-radius: 9px; box-shadow: 0 12px 32px #29204422; border: 1px solid #32294a26; overflow: hidden; }
.product-shot a { display: block; position: relative; cursor: zoom-in; }
.product-shot a::after { content: "放大"; position: absolute; inset: auto 10px 10px auto; padding: 5px 9px; border-radius: 6px; background: #121420e8; border: 1px solid #ffffff51; color: #f5f0ff; font-size: 12px; pointer-events: none; }
.product-shot a:hover::after { background: #543883; }
.product-shot a:focus-visible { outline-offset: -4px; }
.product-shot img { display: block; width: 100%; height: auto; aspect-ratio: 1600 / 1014; object-fit: cover; background: #242631; }
.shot-caption { text-align: right; margin-top: 12px; color: #615b6b; font-size: 11px; }

.local { border-top: 1px solid #e1dbe6; background: #f0ebf4; padding-block: 91px 100px; }
.local-inner { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(36px, 8vw, 116px); }
.local h2 { font-size: clamp(36px, 4.6vw, 61px); }
.local-copy > p { margin-top: 16px; max-width: 410px; }
.local dl { margin-top: 27px; }
.local dl > div { border-top: 1px solid #d8d1df; padding: 15px 0 11px; }
.local dt { color: #362451; font-size: 14px; font-weight: 700; }
.local dd { font-size: 13px; line-height: 1.8; color: var(--subtle); margin-top: 4px; }
.file-example { background: #1c1b2a; color: #f4edfe; border: 1px solid #332942; border-radius: 10px; box-shadow: 0 13px 26px #25133d26; }
.file-example figcaption { font-size: 13px; border-bottom: 1px solid #ffffff25; padding: 12px 20px; color: #dbcef4; }
.file-example figcaption span { color: #d4bcff; margin-right: 7px; }
.file-example pre { margin: 0; padding: 24px 24px 20px; white-space: pre-wrap; overflow-wrap: anywhere; }
.file-example code { font: 14px/1.9 "IBM Plex Mono", ui-monospace, monospace; }
.file-example code span { color: #bca0fb; }
.file-example p { padding: 0 24px 16px; font-size: 11px; color: #bcb2cb; }
.site-footer { background: var(--night); color: #f7f4ff; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 135px; padding-block: 25px; }
.footer-inner p { margin-top: 8px; color: #bbb6cb; font-size: 12px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 12px 22px; justify-content: flex-end; }
.footer-inner nav a { color: #d2cbdf; font-size: 13px; white-space: nowrap; }

.shot-dialog { width: min(1160px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 1px solid #f7f0ff3d; border-radius: 13px; background: #201e2d; color: #f7f4ff; }
.shot-dialog::backdrop { background: #0c0b16df; }
body:has(.shot-dialog[open]) { overflow: hidden; }
.shot-dialog-bar { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 11px 6px 17px; border-bottom: 1px solid #ffffff25; }
.shot-dialog h2 { flex: 1; font: 650 15px/1.4 var(--sans); letter-spacing: normal; }
.shot-original, .shot-close { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 9px; border: 0; border-radius: 6px; font-size: 13px; white-space: nowrap; }
.shot-original { color: #e1d4fb; }
.shot-close { background: #e5dbff; color: #211a36; cursor: pointer; }
.shot-original:hover { background: #ffffff19; }
.shot-close:hover { background: #f7f0ff; }
.shot-large { display: block; width: 100%; height: auto; max-height: calc(100dvh - 86px); object-fit: contain; }

@media (max-width: 1000px) {
  .wrap { width: calc(100% - 64px); }
  .hero-inner { min-height: 560px; }
  .hero-visual { right: -48px; }
  .mode-panel { padding: 20px; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 62px; grid-template-columns: 1fr auto; gap: 10px; }
  .header-inner nav { display: none; }
  .hero-inner { min-height: 0; align-content: start; padding-block: 42px 0; }
  .hero-copy { width: 100%; }
  .eyebrow { margin-bottom: 21px; }
  .hero h1 { font-size: clamp(40px, 8.6vw, 60px); }
  .hero-intro { margin-top: 18px; }
  .button-light { margin-top: 20px; }
  .hero-visual { position: relative; inset: auto; width: min(100%, 510px); height: auto; margin: -16px 0 -10px; justify-self: center; }
  .hero-notes { position: static; gap: 13px; min-height: 55px; font-size: 12px; }
  .hero-notes span + span::before { margin-right: 3px; }
  .experience, .local { padding-block: 58px 65px; }
  .section-intro { display: grid; align-items: start; gap: 14px; padding-bottom: 23px; }
  .section-intro p { max-width: 380px; }
  .mode-panel, .local-inner { grid-template-columns: 1fr; }
  .mode-panel { gap: 15px; }
  .panel-copy { padding: 4px 0 0; }
  .panel-copy p { margin-top: 10px; }
  .panel-copy .panel-tip { margin-top: 12px; }
  .mode-tabs button { flex-direction: column; gap: 5px; min-height: 58px; padding-inline: 2px; font-size: 12px; }
  .footer-inner { align-items: flex-start; }
  .footer-inner nav { flex-direction: column; align-items: flex-end; }
}
@media (max-width: 340px) {
  .wrap { width: calc(100% - 28px); }
  .hero-notes { gap: 7px; }
  .narrow-break { display: initial; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.finishing { padding-block: 0 78px; }
.finish-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 30px; }
.finish-card { padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.finish-card .panel-copy { flex: 1; padding: 0 0 20px; }
.finish-card h3 { font-size: clamp(22px, 2.7vw, 32px); }
@media (max-width: 720px) {
  .finish-grid { grid-template-columns: 1fr; }
  .finishing { padding-bottom: 54px; }
}
