:root {
  --bg: #ffffff;
  --fg: #1d1d1f;
  --muted: #86868b;
  --line: #e5e5e7;
  --link: #0066cc;
  --mark: rgba(255, 196, 0, 0.22);
  --maxw: 700px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1c1e;
    --fg: #f5f5f7;
    --muted: #98989d;
    --line: #38383a;
    --link: #2997ff;
    --mark: rgba(255, 196, 0, 0.28);
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.7;
  color: var(--fg);
  background: var(--bg);
  padding: 28px 20px 80px;
}

main { max-width: var(--maxw); margin: 0 auto; }

.site-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  margin-bottom: 40px;
}
.nav-wrap { display:flex; justify-content:space-between; align-items:flex-start; gap:18px; margin-bottom:40px; }
.nav-wrap .site-nav { margin-bottom:0; }
.language-picker { display:flex; gap:5px; flex:none; }
.language-picker button { border:1px solid var(--line); color:var(--muted); background:transparent; border-radius:999px; padding:4px 8px; font:inherit; font-size:12px; cursor:pointer; }
.language-picker button[aria-pressed="true"] { color:var(--fg); border-color:var(--muted); font-weight:600; }
@media (max-width:560px) { .nav-wrap { flex-direction:column-reverse; } }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover { color: var(--fg); }
.site-nav a[aria-current="page"] { color: var(--fg); font-weight: 600; }

h1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.021em;
  margin-bottom: 6px;
}
.updated { font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.intro { font-size: 16px; margin: 18px 0 4px; }

h2 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 36px 0 10px;
}
h3 { font-size: 16px; font-weight: 600; margin: 24px 0 8px; }

p, li { font-size: 16px; margin-bottom: 12px; }
ul { padding-left: 22px; margin-bottom: 16px; }
li { margin-bottom: 6px; }
a { color: var(--link); }
strong { font-weight: 600; }

.app-notes h3:first-of-type { margin-top: 10px; }

.placeholder {
  background: var(--mark);
  padding: 0 4px;
  border-radius: 3px;
  font-style: normal;
}

.footer {
  margin-top: 60px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

/* ---- home (index.html) ---- */
.hero {
  background: #2d2d30;
  border-radius: 22px;
  padding: 48px 28px 38px;
  text-align: center;
  margin-bottom: 38px;
}
.hero h1 {
  color: #ffffff;
  font-size: clamp(28px, 7vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0;
}
.hero .tagline {
  color: rgba(245, 245, 247, 0.66);
  font-size: 16px;
  margin: 14px 0 0;
}
.hero img {
  display: block;
  width: 100%;
  max-width: 540px;
  height: auto;
  margin: 30px auto 22px;
}
.hero .series {
  font-size: 12px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(245, 245, 247, 0.5);
  margin: 0;
}
.apps { margin: 42px 0 6px; }
.visual-panel { padding:22px 24px 18px; margin:0 0 22px; border:1px solid var(--line); border-radius:21px; background:linear-gradient(165deg,#fff 56%,#fcfbff); box-shadow:0 12px 30px rgba(33,24,67,.06); }
.product-name { color:#4f3896; font-family:Georgia,"Times New Roman",serif; font-size:21px; margin-bottom:12px; }
.scene { width:320px; max-width:100%; height:230px; margin:0 auto; position:relative; overflow:hidden; border-radius:15px; background:radial-gradient(circle at 55% 48%,#f4f0ff 0,rgba(244,240,255,0) 62%); }
.visual-panel>p { margin:10px 0 0; text-align:center; font-family:Georgia,"Times New Roman",serif; font-size:19px; }
.visual-panel + .app { margin-bottom:68px; }
.task-stack { position:absolute; left:4px; top:24px; width:118px; display:grid; gap:10px; }.task-stack i { height:39px; border:1px solid #ddd7ee; border-radius:9px; background:white; box-shadow:0 5px 12px rgba(75,50,130,.06); position:relative; }.task-stack i:before { content:""; width:10px; height:10px; border:1px solid #9d84dc; border-radius:50%; position:absolute; left:10px; top:13px; }.task-stack i:after { content:""; width:53px; height:4px; background:#e6e2ec; border-radius:5px; position:absolute; left:28px; top:16px; }.task-stack i:last-child { opacity:.35; }
.pause { position:absolute; left:116px; top:87px; width:50px; height:50px; border-radius:50%; background:linear-gradient(145deg,#b6a2ed,#7259c3); border:7px solid #e8e0ff; display:flex; align-items:center; justify-content:center; gap:4px; box-shadow:0 7px 18px rgba(87,62,160,.18); }.pause span { height:16px; width:4px; background:white; border-radius:2px; }
.dash-arrow { position:absolute; height:2px; width:55px; border-top:2px dashed #9677e5; }.dash-arrow:after { content:"›"; position:absolute; right:-2px; top:-15px; color:#8062d1; font-size:25px; }.task-scene .dash-arrow { left:157px; top:111px; }
.resume-sheet { position:absolute; right:2px; top:51px; width:105px; height:125px; background:white; border:1px solid #d9d1ef; border-radius:12px; box-shadow:0 8px 18px rgba(80,55,150,.10); padding:19px 13px; }.resume-sheet b { color:#7658c6; font-size:12px; }.resume-sheet i { display:block; height:6px; margin-top:12px; border-radius:4px; background:#e4dfed; }.resume-sheet i:nth-of-type(2) { width:77%; }.resume-sheet i:nth-of-type(3) { width:88%; }
.note { position:absolute; width:58px; height:55px; border:1px solid #ded5ef; border-radius:6px 6px 15px 6px; box-shadow:0 8px 15px rgba(72,53,126,.09); background:linear-gradient(145deg,#ede5ff,#d9c9f6); }.note:after { content:""; position:absolute; left:12px; top:16px; width:31px; height:3px; background:rgba(83,59,150,.28); box-shadow:0 8px rgba(83,59,150,.2); }.note-a { left:4px; top:30px; transform:rotate(7deg); }.note-b { left:50px; top:99px; transform:rotate(-4deg); background:linear-gradient(145deg,#fff,#f2eee7); }.note-c { left:13px; top:153px; transform:rotate(4deg); }.mark-scene .dash-arrow { left:94px; top:111px; width:45px; }
.shelf { position:absolute; right:2px; top:38px; width:154px; height:148px; border:7px solid #e2dcef; background:linear-gradient(#f8f6fc,#eee8f8); border-radius:15px; box-shadow:0 10px 20px rgba(65,46,120,.12); padding:17px 10px 30px; }.books { display:flex; align-items:flex-end; height:70px; gap:3px; }.books i { flex:1; height:63px; background:linear-gradient(90deg,#fff,#e8e5ed); border:1px solid #cdc7d7; border-radius:4px 4px 1px 1px; }.books i:nth-child(2) { height:70px; background:linear-gradient(90deg,#8069cf,#5d45a6); border-color:#4f398f; }.books i:nth-child(4) { height:67px; }.shelf>span { position:absolute; left:8px; right:8px; bottom:23px; height:6px; border-radius:5px; background:#c9bddf; }
.timeline { position:absolute; left:8px; top:20px; height:185px; display:flex; flex-direction:column; justify-content:space-between; }.timeline:before { content:""; position:absolute; left:17px; top:14px; bottom:14px; border-left:1px dashed #a888df; }.timeline i { z-index:1; width:35px; height:35px; border:1px solid #dacff4; background:#faf8ff; color:#6b4db5; border-radius:50%; display:grid; place-items:center; font-style:normal; font-size:12px; }.life-scene .dash-arrow { left:56px; top:112px; width:52px; }
.day-card { position:absolute; right:4px; top:25px; width:126px; height:181px; padding:17px 14px; background:white; border:1px solid #dacff1; border-radius:14px; box-shadow:0 10px 24px rgba(83,58,147,.13); overflow:hidden; }.day-card b { font-family:Georgia,serif; color:#3e2c72; font-size:17px; }.day-card>span { display:block; width:48px; height:4px; margin:11px 0 18px; background:#e5def2; border-radius:3px; }.day-card p { height:5px; margin:0 0 8px; background:#dbd5e7; border-radius:3px; }.day-card p:nth-of-type(2) { width:72%; }.hills { position:absolute; left:0; right:0; bottom:0; height:42px; background:linear-gradient(155deg,transparent 30%,#e5ddf7 31% 55%,#b6a4e7 56%); }
.app {
  border-left: 4px solid var(--c, #888);
  padding: 2px 0 2px 16px;
  margin-bottom: 22px;
}
.app h3 {
  margin: 0;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.app h3::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--c, #888);
  display: inline-block;
  flex: none;
}
.app .role {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 4px 0 8px;
}
.app .desc { margin: 0 0 8px; }
.app .store { margin: 0; font-size: 14px; }
@media (max-width:560px) { .scene { height:215px; }.visual-panel { padding:20px; }.visual-panel + .app { margin-bottom:58px; } }
@media (prefers-color-scheme:dark) { .visual-panel { background:linear-gradient(165deg,#252527,#211f27); }.scene { background:radial-gradient(circle at 55% 48%,#342d49 0,rgba(52,45,73,0) 62%); }.task-stack i,.resume-sheet,.day-card { background:#2d2b31; }.shelf { background:#312b3e; border-color:#484054; } }
