/* SNRatio effect pages. Tokens are the site's dark set (SIGNALS-DESIGN.md, Dark appearance); the effect is the hero. */
:root{
  --page:#12110F; --ink:#F2EFEA; --ink2:#D9D5CF; --secondary:#ADA8A1; --tertiary:#98938C;
  --edge:#4A4743; --on-ink:#1C1B19; --his:#F59E2F; --claude:#4A9BFF;
  --glass:rgba(42,41,38,.52); --glass-edge:rgba(242,239,234,.16);
  color-scheme:dark;
}
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
html{-webkit-text-size-adjust:100%;background:var(--page)}
body{background:var(--page);color:var(--ink);font:17px/1.5 -apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue",Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
  overflow:hidden;overscroll-behavior:none;position:fixed;inset:0;width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;-webkit-tap-highlight-color:transparent}
:focus-visible{outline:2px solid var(--ink);outline-offset:3px;border-radius:8px}

#stage{position:fixed;inset:0;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;cursor:crosshair;background:var(--page)}
#stage canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
/* no WebGL2: the page keeps its message over a still frame of the effect */
html.nogl #stage{background:var(--page) var(--poster) center/cover no-repeat}
html.nogl #stage canvas,html.nogl #hint{display:none}

.scrim{position:fixed;inset:0;pointer-events:none;
  background:linear-gradient(to top,rgba(10,9,8,.84) 0%,rgba(10,9,8,.58) 22%,rgba(10,9,8,0) 52%),linear-gradient(to bottom,rgba(10,9,8,.5),rgba(10,9,8,0) 120px)}

.top{position:fixed;top:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;pointer-events:none;
  padding:calc(14px + env(safe-area-inset-top,0px)) max(20px,env(safe-area-inset-right,0px)) 0 max(20px,env(safe-area-inset-left,0px))}
.brand{display:flex;align-items:center;gap:10px;font-weight:600;font-size:17px;letter-spacing:-.01em;pointer-events:auto;min-height:44px}
.brand img{width:28px;height:28px;filter:drop-shadow(0 .5px 1px rgba(0,0,0,.3)) drop-shadow(0 2px 8px rgba(0,0,0,.35))}
.mute{pointer-events:auto;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;color:var(--ink2);
  background:var(--glass);border:1px solid var(--glass-edge);-webkit-backdrop-filter:blur(18px) saturate(1.4);backdrop-filter:blur(18px) saturate(1.4);transition:color .2s,background .2s}
.mute:hover{color:var(--ink)}
.mute svg{width:20px;height:20px}
.mute .off{display:none}
.mute[aria-pressed="true"] .on{display:none}
.mute[aria-pressed="true"] .off{display:block}

#hint{position:fixed;left:0;right:0;top:calc(76px + env(safe-area-inset-top,0px));text-align:center;pointer-events:none;
  font-size:13px;letter-spacing:.01em;color:var(--secondary);transition:opacity .8s;text-shadow:0 1px 12px rgba(0,0,0,.6)}
#hint.gone{opacity:0}

.copy{position:fixed;left:0;right:0;bottom:0;pointer-events:none;
  padding:0 max(24px,env(safe-area-inset-right,0px)) calc(28px + env(safe-area-inset-bottom,0px)) max(24px,env(safe-area-inset-left,0px))}
.copy>*{pointer-events:none}
.copy a{pointer-events:auto}
h1{font-weight:700;letter-spacing:-.035em;line-height:.98;font-size:clamp(46px,8.6vw,112px);text-wrap:balance;max-width:11em;
  text-shadow:0 2px 40px rgba(0,0,0,.5)}
.sub{margin-top:16px;font-size:clamp(17px,1.6vw,21px);line-height:1.45;color:var(--ink2);max-width:33em;text-wrap:pretty;text-shadow:0 1px 18px rgba(0,0,0,.7)}
.row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:22px;flex-wrap:wrap}
.cta{display:inline-flex;align-items:center;justify-content:center;height:44px;padding:0 22px;border-radius:999px;background:var(--ink);color:var(--on-ink);
  font-weight:600;font-size:16px;white-space:nowrap;transition:transform .12s ease,opacity .12s}
.cta:hover{opacity:.92}
.cta:active{transform:scale(.97)}
.more{display:flex;gap:4px 18px;flex-wrap:wrap;font-size:14px}
.more a{color:var(--secondary);min-height:44px;display:inline-flex;align-items:center;text-shadow:0 1px 12px rgba(0,0,0,.7);transition:color .2s}
.more a:hover{color:var(--ink)}
.more .short{display:none}
.more a[aria-current="page"]{color:var(--ink);font-weight:500}

@media (max-width:620px){
  h1{font-size:clamp(44px,14.5vw,68px)}
  .sub{font-size:16.5px;margin-top:12px}
  .row{flex-direction:column;align-items:flex-start;gap:4px;margin-top:16px}
  .copy{padding-bottom:calc(14px + env(safe-area-inset-bottom,0px))}
  .more{gap:0 16px}
  .more a{font-size:14px}
  .more .full{display:none}
  .more .short{display:inline}
  .more{gap:0 20px}
}
@media (max-height:560px) and (min-width:621px){h1{font-size:clamp(40px,9vh,64px)}.sub{font-size:16px;margin-top:10px}.row{margin-top:14px}}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}

/* share-card render: brand, headline, subline only */
html.og .mute,html.og #hint,html.og .row{display:none}
html.og .copy{padding-bottom:56px;padding-left:64px}
html.og .top{padding-left:64px;padding-top:44px}
html.og h1{font-size:104px}
html.og .sub{font-size:23px;max-width:30em}
html.bare .copy,html.bare .top,html.bare .scrim{display:none}
html.nogl .mute{display:none}
