:root{
  --paper:#F2F5FA;
  --paper-2:#E6EBF3;
  --ink:#1B2433;
  --muted:#556072;
  --line:#CDD5E1;
  --g-blue:#4285F4;
  --g-red:#EA4335;
  --g-yellow:#FBBC04;
  --g-green:#34A853;
  --focus:#4285F4;
  --font:"Gothic A1",system-ui,-apple-system,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;
  --wrap:1180px;
  --gutter:clamp(16px,4vw,40px);
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --paper:#131A26;--paper-2:#1C2535;--ink:#E9EEF6;--muted:#A3AEC0;--line:#2E3A4F;
  }
}
:root[data-theme="dark"]{--paper:#131A26;--paper-2:#1C2535;--ink:#E9EEF6;--muted:#A3AEC0;--line:#2E3A4F}

*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font);font-size:17px;line-height:1.7;word-break:keep-all;overflow-wrap:break-word}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px;border-radius:6px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:-999px;top:8px;background:var(--ink);color:var(--paper);padding:8px 14px;border-radius:8px;z-index:10}
.skip:focus{left:16px}

/* header */
.top{max-width:var(--wrap);margin:0 auto;padding:22px var(--gutter);display:flex;align-items:center;justify-content:space-between;gap:16px}
.mark{display:flex;align-items:center;gap:10px;text-decoration:none;font-weight:900;font-size:22px;letter-spacing:-.02em}
.mark svg{width:34px;height:34px}
.nav{display:flex;gap:4px;flex-wrap:wrap;justify-content:flex-end}
.nav a{text-decoration:none;font-weight:700;font-size:15px;padding:8px 12px;border-radius:999px;color:var(--muted)}
.nav a:hover{color:var(--ink);background:var(--paper-2)}
.nav .nav-blog{color:var(--ink);box-shadow:inset 0 0 0 2px var(--ink)}
@media (max-width:640px){.nav a:not(.nav-blog){display:none}}

/* buttons */
.btn{display:inline-flex;align-items:center;gap:8px;font-weight:800;font-size:16px;text-decoration:none;padding:14px 22px;border-radius:999px;transition:transform .15s ease}
.btn svg{width:18px;height:18px}
.btn:active{transform:scale(.97)}
.btn-ink{background:var(--ink);color:var(--paper)}
.btn-line{box-shadow:inset 0 0 0 2px var(--ink)}
.btn-line:hover{background:var(--paper-2)}

/* hero */
.hero{max-width:var(--wrap);margin:0 auto;padding:clamp(32px,7vw,88px) var(--gutter) clamp(40px,6vw,72px);display:grid;grid-template-columns:1fr auto;gap:clamp(28px,5vw,72px);align-items:center}
.hero h1{margin:0;font-weight:900;font-size:clamp(52px,10.5vw,128px);line-height:1.02;letter-spacing:-.045em}
.lede{max-width:34em;margin:28px 0 0;font-size:clamp(17px,1.6vw,19px);color:var(--muted)}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}
.badges{display:flex;flex-direction:column;gap:6px;width:clamp(200px,22vw,270px);padding:18px 14px;background:#fff;border-radius:28px}
.badges img{width:100%}
@media (max-width:820px){
  .hero{grid-template-columns:1fr}
  .badges{flex-direction:row;width:100%;max-width:420px;padding:12px}
  .badges img{width:50%}
}

/* stage */
.works{max-width:var(--wrap);margin:0 auto;padding:0 var(--gutter);position:relative}
.stage{
  --bg:#1A56C7;--fg:#fff;--soft:rgba(255,255,255,.78);--arc-a:#8AB4FF;--arc-b:#FFFFFF;
  position:relative;overflow:hidden;border-radius:36px;background:var(--bg);color:var(--fg);
  display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);min-height:520px;
  transition:background-color .6s ease,color .6s ease;
}
.stage[data-tone="green"]{--bg:#137A3E;--fg:#fff;--soft:rgba(255,255,255,.8);--arc-a:#7BD69A;--arc-b:#FBBC04}
.stage[data-tone="yellow"]{--bg:#FBBC04;--fg:#1B2433;--soft:rgba(27,36,51,.78);--arc-a:#FFE08A;--arc-b:#1A56C7}
.stage[data-tone="red"]{--bg:#C9302C;--fg:#fff;--soft:rgba(255,255,255,.82);--arc-a:#FF9C94;--arc-b:#FBBC04}
.stage[data-tone="ink"]{--bg:#1B2433;--fg:#fff;--soft:rgba(255,255,255,.75);--arc-a:#34A853;--arc-b:#FBBC04}
:root[data-theme="dark"] .stage[data-tone="ink"]{--bg:#0A0F18}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .stage[data-tone="ink"]{--bg:#0A0F18}}
.stage-copy{position:relative;z-index:2;padding:clamp(28px,5vw,64px);display:flex;flex-direction:column;justify-content:center}
.stage-url{margin:0 0 6px;font-weight:700;font-size:16px;color:var(--soft)}
.stage-name{margin:0;font-weight:900;font-size:clamp(40px,6.4vw,84px);line-height:1.05;letter-spacing:-.04em}
.stage-desc{margin:18px 0 0;font-size:clamp(17px,1.6vw,20px);line-height:1.6;max-width:26em}
.stage-points{list-style:none;margin:20px 0 30px;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.stage-points li{font-size:14px;font-weight:700;padding:6px 12px;border-radius:999px;box-shadow:inset 0 0 0 1.5px var(--soft);color:var(--fg)}
.btn-onstage{align-self:flex-start;background:var(--fg);color:var(--bg)}
.btn-onstage:hover{transform:translateY(-1px)}
.stage :focus-visible{outline-color:var(--fg)}
.stage-copy>*{transition:opacity .35s ease,transform .35s ease}
.stage.swap .stage-copy>*{opacity:0;transform:translateY(8px)}
.stage.swap .stage-art .art{opacity:0;transform:scale(.96)}

/* the badge arc motif, scaled up behind the art */
.stage-art{position:relative;min-height:320px}
.stage-art .rings{position:absolute;right:-120px;bottom:-140px;width:620px;height:620px;z-index:0}
.stage-art .rings path{fill:none;stroke-linecap:round;stroke-width:46;transition:stroke .6s ease}
.art{position:absolute;inset:0;display:grid;grid-template-columns:minmax(0,1fr);place-items:center;z-index:1;transition:opacity .35s ease,transform .35s ease;padding:24px}

/* mock window */
.win{min-width:0;width:min(92%,400px);background:#fff;color:#1B2433;border-radius:22px;padding:18px;box-shadow:0 30px 60px -30px rgba(0,0,0,.55)}
.win-bar{display:flex;gap:6px;margin-bottom:14px}
.win-bar i{width:10px;height:10px;border-radius:50%;background:#D7DDE7}
.field{background:#F0F3F8;border-radius:12px;padding:12px 14px;font-size:13px;color:#556072;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.short-pill{margin-top:12px;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#1A56C7;color:#fff;border-radius:14px;padding:12px 14px;font-weight:800;font-size:17px}
.short-pill small{font-size:12px;font-weight:700;opacity:.8}
.qr{margin-top:14px;display:grid;grid-template-columns:repeat(9,1fr);gap:3px;width:108px}
.qr i{aspect-ratio:1;border-radius:2px;background:#1B2433}
.qr i.o{background:transparent}
.row{display:flex;align-items:center;gap:10px;padding:10px 4px;border-top:1px solid #E6EBF3;font-size:14px}
.row:first-of-type{border-top:0}
.pin{width:14px;height:14px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:#34A853;flex:none}
.row b{font-weight:800}
.row span{margin-left:auto;font-size:12px;color:#556072}
.route{width:100%;height:120px}
.day{display:flex;gap:10px;font-size:14px;padding:8px 0;border-top:1px solid #E6EBF3}
.day b{color:#1A56C7;min-width:3.2em}
.cursor-scene{position:relative;width:min(88%,380px);aspect-ratio:4/3;background:#fff;border-radius:22px;overflow:hidden;box-shadow:0 30px 60px -30px rgba(0,0,0,.55)}
.cursor-scene .lines{position:absolute;inset:26px;display:flex;flex-direction:column;gap:12px}
.cursor-scene .lines i{height:12px;border-radius:6px;background:#E6EBF3}
.cursor-scene .lines i:nth-child(2){width:80%}.cursor-scene .lines i:nth-child(4){width:60%}
.cursor-scene .ring{position:absolute;left:52%;top:46%;width:86px;height:86px;margin:-43px 0 0 -43px;border-radius:50%;box-shadow:0 0 0 6px rgba(234,67,53,.9),0 0 0 999px rgba(27,36,51,.10)}
.cursor-scene svg{position:absolute;left:52%;top:46%;width:30px;height:30px}
.cursor-scene .ink{position:absolute;left:18%;top:70%;width:46%;height:20px;border-bottom:4px solid #EA4335;border-radius:0 0 50% 50%}
.road{position:relative;width:min(88%,380px);aspect-ratio:4/3;border-radius:22px;overflow:hidden;background:linear-gradient(#2B3A55 0 42%,#34A853 42% 100%);box-shadow:0 30px 60px -30px rgba(0,0,0,.7)}
.road::before{content:"";position:absolute;left:50%;bottom:0;width:120%;height:58%;transform:translateX(-50%);background:#3A3F4A;clip-path:polygon(46% 0,54% 0,100% 100%,0 100%)}
.road .stripe{position:absolute;left:50%;width:6px;transform:translateX(-50%);background:#FBBC04;border-radius:3px}
.road .sun{position:absolute;left:50%;top:16%;width:64px;height:64px;margin-left:-32px;border-radius:50%;background:#FBBC04}
.road .car{position:absolute;left:50%;bottom:10%;width:70px;height:34px;margin-left:-35px;background:#EA4335;border-radius:10px 10px 6px 6px}
.road .car::before,.road .car::after{content:"";position:absolute;bottom:-6px;width:16px;height:12px;background:#111;border-radius:3px}
.road .car::before{left:6px}.road .car::after{right:6px}

@media (max-width:860px){
  .stage{grid-template-columns:1fr;min-height:0}
  .stage-art{min-height:340px;order:-1}
  .stage-art .rings{right:-180px;bottom:-260px}
  .stage-copy{padding-top:8px}
}

/* picker */
.picker{display:flex;gap:10px;margin:18px 0 0;overflow-x:auto;padding:4px 2px 8px;scrollbar-width:none}
.picker::-webkit-scrollbar{display:none}
.tab{flex:1 0 auto;display:flex;align-items:center;gap:10px;min-width:150px;padding:12px 16px 12px 12px;border:0;border-radius:18px;background:var(--paper-2);color:var(--ink);font:inherit;font-weight:700;font-size:15px;cursor:pointer;text-align:left}
.tab:hover{background:var(--line)}
.tab[aria-selected="true"]{background:var(--ink);color:var(--paper)}
.tab svg{width:30px;height:30px;flex:none;transform:rotate(-90deg)}
.tab .track{fill:none;stroke:currentColor;opacity:.18;stroke-width:4}
.tab .prog{fill:none;stroke-width:4;stroke-linecap:round;stroke-dasharray:75.4;stroke-dashoffset:75.4}
.tab[aria-selected="true"] .prog{animation:fill var(--dur,7s) linear forwards}
.paused .tab[aria-selected="true"] .prog{animation-play-state:paused}
@keyframes fill{to{stroke-dashoffset:0}}
.pause{margin:4px 0 0;background:none;border:0;color:var(--muted);font:inherit;font-size:14px;font-weight:700;text-decoration:underline;text-underline-offset:3px;cursor:pointer;padding:6px 2px}

/* directory */
.all,.about{max-width:var(--wrap);margin:0 auto;padding:clamp(64px,9vw,112px) var(--gutter) 0}
.all h2,.about h2{margin:0 0 24px;font-size:clamp(28px,3.6vw,40px);font-weight:900;letter-spacing:-.03em}
.dir{list-style:none;margin:0;padding:0;border-top:2px solid var(--ink)}
.dir-group{font-size:14px;font-weight:800;color:var(--muted);padding:22px 0 6px}
.dir a{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:16px;padding:16px 4px;border-bottom:1px solid var(--line);text-decoration:none}
.dir a:hover{background:var(--paper-2)}
.dot{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-size:17px;background:var(--paper-2)}
.dir a:hover .dot{background:var(--paper)}
.dir-name{font-weight:800;font-size:18px}
.dir-desc{display:block;font-size:15px;color:var(--muted);font-weight:500}
.dir-host{font-size:14px;color:var(--muted);font-weight:600}
@media (max-width:640px){.dir a{grid-template-columns:40px minmax(0,1fr)}.dir-host{display:none}}

/* about */
.about-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:clamp(20px,4vw,56px);border-top:2px solid var(--ink);padding-top:28px}
.about-body p{margin:0;max-width:38em}
.about-name{font-size:28px;font-weight:900;letter-spacing:-.02em}
.about-name span{display:block;font-size:16px;font-weight:700;color:var(--muted)}
.about-links{grid-column:2;display:flex;flex-wrap:wrap;gap:8px 20px;font-weight:700}
.about-links a{text-underline-offset:4px}
@media (max-width:720px){.about-body{grid-template-columns:1fr}.about-links{grid-column:auto}}

.foot{max-width:var(--wrap);margin:clamp(72px,10vw,120px) auto 0;padding:24px var(--gutter) 40px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px 24px;font-size:14px;color:var(--muted);border-top:1px solid var(--line)}
.foot p{margin:0}
.foot a{color:var(--ink)}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{transition:none!important;animation:none!important}
}

/* privacy page */
.doc{max-width:760px;margin:0 auto;padding:clamp(28px,6vw,72px) var(--gutter) 0}
.doc h1{margin:0;font-size:clamp(34px,5vw,52px);font-weight:900;letter-spacing:-.035em;line-height:1.15}
.doc .eff{margin:12px 0 0;color:var(--muted);font-weight:700}
.doc .intro{margin:28px 0 0;padding:20px 22px;background:var(--paper-2);border-radius:18px}
.doc h2{margin:44px 0 10px;font-size:21px;font-weight:800;letter-spacing:-.01em}
.doc ul{margin:0;padding-left:1.2em}
.doc li{margin:4px 0}
.doc li b{font-weight:800}
.back{display:inline-block;margin-top:44px;font-weight:800}
@media (max-width:860px){.stage-art .rings{opacity:.4}}
