:root { color-scheme:dark; --ink:#e9e7de; --muted:#9ea9a4; --accent:#c4cbb0; --bg:#111817; font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif; background:var(--bg); color:var(--ink); -webkit-font-smoothing:antialiased; }
* { box-sizing:border-box; }
body,h1,h2,h3,p,figure { margin:0; }
a { color:inherit; text-decoration:none; }
a:focus-visible,button:focus-visible { outline:2px solid #b9d8cb; outline-offset:5px; }
.wrap { width:min(1160px,calc(100% - 96px)); margin-inline:auto; }
.site-header { position:relative; z-index:2; display:flex; align-items:center; justify-content:space-between; gap:24px; height:94px; border-bottom:1px solid #d1e0d01a; }
.brand { display:flex; align-items:center; gap:10px; font-size:16px; font-weight:600; }
.brand img { width:25px; height:29px; object-fit:contain; }
.nav { display:flex; align-items:center; gap:36px; font-size:12px; color:#a8b1aa; }
.nav .journal { letter-spacing:.16em; font-size:10px; }
.hero { background:var(--bg); }
.hero-visual { position:relative; isolation:isolate; overflow:hidden; }
.hero-art { position:absolute; z-index:-2; right:0; top:0; width:78%; height:100%; object-fit:cover; object-position:46% 50%; }
.hero-visual::before { content:""; position:absolute; z-index:-1; inset:0; background:linear-gradient(90deg,#111817 0%,#111817ee 16%,#111817b3 34%,#11181720 65%,#11181700),linear-gradient(0deg,#111817 0%,#11181700 25%,#11181700 83%,#11181766); }
.hero-inner { position:relative; min-height:670px; display:flex; flex-direction:column; justify-content:center; padding-block:60px 95px; }
.hero-kicker { display:flex; justify-content:center; width:fit-content; min-width:max-content; font-size:clamp(48px,5.8vw,78px); }
html:lang(zh-Hans) .hero-kicker, html:lang(zh-Hant) .hero-kicker { width:3.2em; }
.eyebrow { white-space:nowrap; flex-shrink:0; display:flex; align-items:center; gap:15px; width:fit-content; font-size:11px; letter-spacing:.16em; color:#b3c3b7; margin-bottom:30px; }
.eyebrow::before, .eyebrow::after { content:""; flex:0 0 27px; height:1px; background:#a5b69a; }

h1 { font-size:clamp(48px,5.8vw,78px); font-weight:350; letter-spacing:-.045em; line-height:1.23; }
h1 em { font-style:normal; color:#c6d0b5; }
.hero-copy { width:min(1160px,calc(100% - 96px)); margin:0 auto; padding:8px 0 48px; text-align:left; font-size:16px; line-height:1.95; color:#aebbb3; }
.hero-copy span { display:block; max-width:66.6667%; }
.hero-caption { position:absolute; bottom:31px; left:0; right:0; display:flex; justify-content:space-between; gap:20px; color:#8c9b92; font-size:10px; letter-spacing:.1em; }
.hero-caption span:last-child { color:#b5bdb4; }
.chapter { padding-block:84px 88px; background:#e1e3d9; color:#26322e; }
.chapter-intro { display:grid; grid-template-columns:1fr 1fr; gap:100px; align-items:start; margin-bottom:49px; }
.kicker { display:block; color:#6f7b69; font-size:10px; letter-spacing:.14em; margin-bottom:17px; }
h2 { font-size:clamp(30px,3.5vw,45px); font-weight:400; line-height:1.4; letter-spacing:-.025em; }
.chapter-intro p { color:#5f6d63; font-size:14px; line-height:1.95; padding-top:0; max-width:435px; }
.chapter-copy p + p { margin-top:15px; }
.workbench { border:1px solid #75806a3d; border-radius:4px; display:grid; grid-template-columns:1fr; overflow:hidden; background:#d7dacf; }
.workbench-copy { display:flex; flex-direction:column; justify-content:center; padding:45px; }
.workbench-copy .number { font-size:10px; font-variant-numeric:tabular-nums; color:#7a856f; letter-spacing:.1em; margin-bottom:25px; }
.workbench h3 { font-size:24px; font-weight:450; margin-bottom:15px; }
.workbench-copy p { max-width:300px; font-size:13px; line-height:1.9; color:#677361; }
.demo-stage { position:relative; display:grid; justify-items:center; align-content:center; gap:32px; min-width:0; min-height:245px; padding:45px 28px 37px; background:linear-gradient(145deg,#353b3a,#272e2d); border-left:0; }
.demo-label { position:absolute; top:20px; left:25px; right:25px; display:flex; align-items:center; justify-content:space-between; color:#bac4b7; font-size:9px; letter-spacing:.12em; }
.demo-label span:last-child { display:flex; align-items:center; gap:6px; }
.demo-label span:last-child::before { content:""; width:4px; height:4px; border-radius:50%; background:#b2c797; }
.demo-note { color:#aab6ac; font-size:11px; line-height:1.6; text-align:center; }
.demo-stage .seek-pad { width:min(380px,100%); }
.details-background { background:#e1e3d9; }
.design { padding-block:58px 62px; background:#e1e3d9; color:#26322e; }
.design-heading { display:flex; justify-content:space-between; align-items:end; gap:35px; margin-bottom:45px; }
.design .kicker { color:#8c9f8b; }
.design-heading p { color:#9aa99f; font-size:13px; line-height:1.9; max-width:280px; }
.gestures { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:48px; }
.gestures article { border-top:1px solid #75806a3d; padding-top:21px; }
.gesture-number { color:#8ea280; font-size:11px; font-variant-numeric:tabular-nums; }
.gestures h3 { margin-top:0; margin-bottom:13px; font-size:21px; font-weight:400; }
.gestures p { font-size:13px; line-height:1.9; color:#5f6d63; }
.closing { background:#e1e3d9; display:flex; justify-content:space-between; align-items:center; gap:30px; padding:34px 0 46px; border-top:1px solid #acbda32e; }
.closing p { color:#5f6d63; font-size:13px; line-height:1.9; }
.closing a { flex-shrink:0; font-size:12px; color:#425d4c; padding-bottom:8px; border-bottom:1px solid #87977a; }
.footer { padding-block:25px; border-top:1px solid #acbda31a; display:flex; justify-content:space-between; gap:20px; color:#7f9084; font-size:10px; }
.skip { position:absolute; left:-10000px; } .skip:focus { left:20px; top:20px; z-index:10; padding:10px; background:var(--bg); }
@media(min-width:1500px) { .hero-art { width:75%; object-position:center 56%; } .hero-inner { min-height:760px; } }
@media(max-width:850px) { .hero-copy { width:calc(100% - 56px); } .wrap { width:calc(100% - 56px); } .nav { gap:20px; } .hero-inner { min-height:600px; } .hero-art { width:100%; object-position:44% 50%; } .hero-visual::before { background:linear-gradient(90deg,#111817ed,#111817b3 35%,#11181710),linear-gradient(0deg,#111817,transparent 30%); } .chapter-intro { gap:40px; } .workbench-copy { padding:32px; } .demo-stage { padding-inline:22px; } .gestures { gap:28px; } }
@media(max-width:600px) { .wrap { width:calc(100% - 40px); } .site-header { height:76px; } .nav .journal { display:none; } .hero-inner { min-height:670px; justify-content:flex-start; padding-top:60px; padding-bottom:100px; } .hero-art { top:180px; height:490px; width:100%; object-position:54% center; } .hero-visual::before { background:linear-gradient(180deg,#111817 0%,#111817bb 28%,#11181700 60%,#111817 100%),linear-gradient(90deg,#11181777,transparent); } h1 { font-size:52px; } .hero-kicker { font-size:52px; } .eyebrow { font-size:10px; margin-bottom:20px; } .hero-copy { width:calc(100% - 40px); font-size:16px; padding:0 0 35px; } .hero-copy span { max-width:100%; } .hero-caption span:last-child { display:none; } .chapter { padding-block:52px; } .chapter-intro { grid-template-columns:1fr; gap:12px; margin-bottom:30px; } .chapter-intro p { padding:0; } .workbench { grid-template-columns:1fr; } .workbench-copy { padding:28px; } .workbench-copy .number { margin-bottom:15px; } .demo-stage { min-height:235px; padding-inline:18px; border-left:0; } .design { padding-block:54px; } .design-heading { flex-direction:column; align-items:start; gap:18px; margin-bottom:35px; } .design-heading p { max-width:100%; } .gestures { grid-template-columns:1fr; gap:30px; } .gestures article { display:block; } .gesture-number { grid-row:span 2; padding-top:7px; } .gestures h3 { margin-top:0; margin-bottom:8px; } .closing { flex-direction:column; align-items:start; padding-top:0; border:0; } .footer { flex-wrap:wrap; } }
    .seek-pad {
      --phase: 0px;
      --trail-left: 0px;
      --trail-right: 0px;
      --contact: 0px;
      --active: #bed6eb;
      position: relative;
      display: grid;
      grid-template-columns: 1fr 1fr;
      width: min(348px, 100%);
      height: 60px;
      overflow: hidden;
      border: 1px solid #090a0c;
      border-radius: var(--pad-radius);
      background: #191b1f;
      box-shadow: inset 0 7px 10px -3px #000c;
      touch-action: pan-y;
      user-select: none;
      -webkit-user-select: none;
    }

    [data-rim="seam"] .seek-pad {
      box-shadow: inset 0 2px 1px #08090ba8, inset 0 7px 10px -3px #000c;
    }

    .surface {
      position: absolute;
      inset: 13px 53px;
      pointer-events: none;
    }

    .texture,
    .trail {
      position: absolute;
      inset: 0;
      background-position: center, var(--phase) 0;
      mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    }

    .texture {
      background-image:
        linear-gradient(#17191c 0%, transparent 30%, #a5aeb213 45%, #a5aeb221 55%, transparent 72%, #191a1e 100%),
        repeating-linear-gradient(90deg,
          #111316 0 1px, #1b1e22 1px 2px, #60656e 2px 3px, #42464e 3px 4px, #2d3036 4px 7px);
    }

    .trail {
      clip-path: inset(0 calc(100% - var(--trail-right)) 0 var(--trail-left));
      background-image:
        radial-gradient(ellipse 44px 13px at var(--contact) 50%, #d2e9fd9e, #83adc156 58%, transparent 100%),
        repeating-linear-gradient(90deg,
          #0e182292 0 2px, #7fadc6a0 2px 3px, #597e9790 3px 4px, #2940527a 4px 7px);
      mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
      opacity: 0;
      transition: opacity 260ms ease-out;
    }

    .seek-pad.is-dragging .trail {
      opacity: 1;
      transition: none;
    }

    .seek-button {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      padding: 0 18px;
      border: 0;
      background: transparent;
      color: #9299a3;
      cursor: grab;
      -webkit-tap-highlight-color: transparent;
    }

    .seek-button:last-child { justify-content: flex-end; }
    .seek-pad.is-dragging .seek-button { cursor: grabbing; }
    .seek-button:focus-visible { outline: 1px solid var(--active); outline-offset: -4px; border-radius: 7px; }

    .arrows {
      position: relative;
      width: 15px;
      height: 11px;
      scale: 1.5;
      color: #747a82;
      transition: color 200ms ease-out, filter 200ms ease-out;
      filter: drop-shadow(0 1px 0 #090a0b99);
    }

    .arrows::before,
    .arrows::after {
      content: "";
      position: absolute;
      top: 1px;
      width: 6px;
      height: 9px;
      background: currentColor;
      clip-path: path("M 0 2.25 C 0 1.02 1 .46 2.02 1.14 L 5.12 3.21 C 5.72 3.61 6 4 6 4.5 C 6 5 5.72 5.39 5.12 5.79 L 2.02 7.86 C 1 8.54 0 7.98 0 6.75 Z");
    }

    .arrows::before { left: 1px; }
    .arrows::after { left: 8px; }

    .seek-button:first-child .arrows { transform: scaleX(-1); }

    .seek-pad[data-direction="-1"] .seek-button:first-child .arrows,
    .seek-pad[data-direction="1"] .seek-button:last-child .arrows {
      color: #a7bbcb;
      filter: drop-shadow(0 0 3px #95c7f844);
      transition: none;
    }

    @media (prefers-reduced-motion: reduce) {
      .trail, .arrows { transition: none; }
    }
/* Keep translated copy within the available space. */
.chapter-intro > *, .gestures > *, .closing > * { min-width:0; }
h1 { overflow-wrap:anywhere; }
.footer { align-items:center; flex-wrap:wrap; }
details.language-picker { position:relative; width:fit-content; max-width:100%; border:0; }
.language-picker > summary { cursor:pointer; min-height:32px; padding:6px 10px; border:1px solid #acbda333; border-radius:5px; background:#19221e; color:#b3c3b7; font:inherit; }
.language-menu { position:absolute; right:0; bottom:calc(100% + 8px); z-index:20; width:220px; max-width:calc(100vw - 40px); margin:0; padding:6px; list-style:none; border:1px solid #acbda333; border-radius:8px; background:#19221e; box-shadow:0 8px 24px #0006; }
.language-menu a { display:block; padding:8px 12px; border-radius:4px; font-size:13px; }
.language-menu a:hover, .language-menu a:focus-visible { background:#2a3830; }
.language-menu a[aria-current="page"] { color:#d3dbc6; font-weight:600; }
@media(max-width:600px) { .language-menu { right:auto; left:0; } }

