/* kurylabs.com/humglow only (design/stages/humglow-landing.md, section 9). Loaded after site.css, whose role tokens are mapped inside body.hum. */
:root{--hum-ink:#F2F5FF;--hum-paper:#090D1C;--hum-paper-2:#141C36;--hum-off:#24304F;--hum-line:#5A6794;--hum-muted:#AEB8D4;--hum-off-ink:#C3CCE4;--hum-coral:#FF9A86;--hum-green:#5BF0B0;--hum-green-hover:#7CF5C2;--hum-green-press:#45D99B;--hum-edge:rgba(242,245,255,.08)}
@font-face{font-family:"Instrument Sans";font-weight:400 500;font-display:swap;src:url(instrument-sans-latin-wght.woff2) format("woff2")}
/* a focused control stops clear of the sticky header (taller with larger text: --head) and keeps its whole ring on screen */
html{scroll-padding:max(80px,var(--head,64px) + 16px) 0 8px;background:var(--hum-paper);color-scheme:dark}
body.hum{--ink:var(--hum-ink);--paper:var(--hum-paper);--paper-2:var(--hum-paper-2);--muted:var(--hum-muted);--line:var(--hum-line);--orange:var(--hum-coral);--ring:var(--hum-green);--off:var(--hum-off);--green:var(--hum-green);
  --sans:"Instrument Sans",-apple-system,"Helvetica Neue",Arial,sans-serif;--side:max(var(--gutter),env(safe-area-inset-left),env(safe-area-inset-right));
  color-scheme:dark;caret-color:var(--green);font:400 1.125rem/1.556 var(--sans)}
::selection{background:var(--hum-green);color:var(--hum-paper)}
.hum p{text-wrap:pretty}.hum p.small{max-width:36em}
.hum [hidden]{display:none!important}
.hum .wrap{width:min(1240px,100% - 2*var(--side))}
.hum h1,.hum h2,.hum h3{font-weight:500;letter-spacing:-.02em;overflow-wrap:break-word;text-wrap:balance}
.hum h1{font-size:clamp(2.75rem,min(4.6vw,5.2svh),4rem);line-height:1.08}
.hum h2{font-size:2.5rem;line-height:1.15}
.hum h3{font-size:1.5rem;line-height:1.25}
.hum .mist{color:var(--muted)}
.hum .small{font-size:.875rem;line-height:1.43}
.hum .gap8{margin-top:8px}.hum .gap12{margin-top:12px}.hum .last{margin-bottom:32px}
.hum main a{text-underline-offset:3px}

/* header: wordmark, motion toggle, one link */
.hum .site-head{min-height:64px;flex-wrap:wrap;padding:6px var(--side)}/* 6px: the wordmark's ring stays on screen when large text wraps the header */
.hum .hr{display:flex;gap:8px;align-items:center}
.hum .motion,.hum .pill{height:44px;border:1px solid var(--line);border-radius:999px;background:none;color:var(--ink);cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:border-color .15s,transform .15s var(--ease)}
.hum .motion{width:44px;flex:none;display:grid;place-items:center;padding:0}
.hum .motion .i-play,html.still .hum .motion .i-pause{display:none}
html.still .hum .motion .i-play{display:block}
.hum .pill{display:inline-flex;align-items:center;padding:0 20px;font:500 .9375rem/1.25rem var(--sans);text-decoration:none;white-space:nowrap}
@media (hover:hover) and (pointer:fine){.hum .motion:hover,.hum .pill:hover{border-color:var(--ink)}}
.hum .motion:active,.hum .pill:active{transform:scale(.97)}
.hum .motion:focus-visible,.hum .pill:focus-visible,.hum .btn:focus-visible,.hum .seg button:focus-visible{border-radius:999px}
.hum .strip{min-height:40px;display:grid;place-items:center;padding:8px 12px;background:var(--off);font-size:.875rem;text-align:center}

/* hero */
.hum .intro{padding:32px 0 24px}
.hum .top{display:grid;grid-template-columns:minmax(0,1fr) 400px;grid-template-areas:"title act" "screen screen";align-items:end;gap:24px 48px}
/* the first screen: the picture is as wide as the window's height lets it end in view */
@media (min-width:900px){.hum .top{--over:416px;width:min(100%,max(800px,(100svh - var(--over))*16/9));margin-inline:auto}.hum .top:has(.shop){--over:472px}.hum .strip+.intro{padding:12px 0 0}}
.hum .title{grid-area:title;max-width:720px;min-width:0}.hum .top>.screen{grid-area:screen}.hum .act{grid-area:act;min-width:0}
.hum .hicon{width:72px;height:72px;border-radius:22.5%;margin-bottom:24px;view-transition-class:app-icon}
.hum .act .lead{margin-bottom:24px}
.hum .screen{position:relative;aspect-ratio:16/9;border-radius:16px;overflow:hidden;background:var(--paper-2)}
.hum .screen::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px var(--hum-edge);pointer-events:none}
.hum .screen img,.hum .screen video,.hum .media img,.hum .media video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hum video{opacity:0;transition:opacity .4s;pointer-events:none}.hum video.shown{opacity:1}
@media (prefers-reduced-motion:no-preference){
  .hum .intro .screen{animation:hum-in .5s var(--ease) .1s backwards}
  html.vt .hum .intro .screen{animation-delay:.7s}
}
@keyframes hum-in{from{translate:0 16px}}

/* buttons */
.hum .btn{justify-content:center;min-height:52px;padding:8px 24px;background:var(--green);color:var(--paper);font:500 1rem/1.5rem var(--sans);text-align:center;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:background-color .15s,border-color .15s,transform .15s var(--ease)}
.hum .btn:hover{transform:none;filter:none}
/* hover colours only where something can hover: on a phone they stay on after a tap */
@media (hover:hover) and (pointer:fine){.hum .btn:hover{background:var(--hum-green-hover)}}
.hum .btn:active{background:var(--hum-green-press);transform:scale(.97)}
.hum .btn.line{background:none;border:1px solid var(--line);color:var(--ink)}
@media (hover:hover) and (pointer:fine){.hum .btn.line:hover{border-color:var(--ink)}}
.hum .btn[aria-disabled=true]{background:var(--off);color:var(--hum-off-ink);cursor:progress}
.hum button:disabled{cursor:default}
.hum .btn:disabled{background:var(--off);color:var(--hum-off-ink);transform:none}

/* waitlist form: the studio's, in Humglow colours, left aligned */
.hum .signup{margin:0;max-width:480px}
.hum .form.note{justify-content:flex-start;gap:0 12px;margin:0}
.hum .form input[type=email]{min-height:52px;padding:0 24px;border-radius:999px;background:var(--paper-2);color:var(--ink);font:400 1rem/1.5rem var(--sans);transition:border-color .15s}
@media (hover:hover) and (pointer:fine){.hum .form input[type=email]:hover{border-color:var(--ink)}}
.hum .form input[type=email]:focus-visible{border-radius:999px;border-color:var(--green);outline:2px solid var(--green);outline-offset:3px;box-shadow:none}
.hum .form input[type=email]:user-invalid,.hum .form.bad input[type=email]{border-color:var(--orange)}
.hum .form .btn:focus-visible{outline-color:var(--ink)}
.hum .form .status-line{text-align:left;font-size:.875rem;line-height:1.43}
.hum .form .status-line:not(:empty){margin-top:12px}
.hum .form.no .status-line{color:var(--ink)}
.hum .form.sent .status-line::before{content:"";display:inline-block;width:6px;height:11px;border:solid var(--green);border-width:0 2px 2px 0;rotate:45deg;margin:0 12px 1px 4px}
.hum .price{margin-top:12px}
.hum .signup .fine.small{margin-top:8px;text-align:left}
.hum .stage-line{justify-content:flex-start;margin-top:8px;color:var(--ink)}

/* download action: mouse and trackpad get the two ways to download, everything else sends the link to the Mac */
.hum .shop{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.hum .shop .btn,.hum .pair .btn{display:inline-flex;align-items:center}
.hum .btn.line:active{background:var(--paper-2)}
.hum .badge{display:grid;place-items:center;height:52px;border-radius:9px}
.hum .badge img{height:52px;width:auto}
.hum .badge.placeholder{width:180px;background:none;border:1px dashed var(--line);color:var(--muted);font:400 .75rem/1rem var(--sans);padding:0}
.hum .touch,.hum .pill .t{display:none}
.hum .for-mac{font-weight:500;margin-bottom:12px}
.hum .touch .btn{width:100%}.hum .touch .send{margin-bottom:12px}
.hum .pair{display:flex;gap:12px}.hum .pair .btn{flex:1 1 0;min-width:0;justify-content:center}
.hum .addr{margin-top:8px;font-size:.875rem;overflow-wrap:anywhere;user-select:all;-webkit-user-select:all}
/* link rows after the licence words and the footer links: underline means tappable (#51) */
.hum .row a{display:inline-flex;align-items:center;min-height:44px;color:var(--ink);font-weight:500;text-decoration:underline;text-underline-offset:3px}
.hum .gap16{margin-top:16px}
.hum .badge.placeholder{flex:none}
@media (max-width:899px){.hum .shop .badge{flex:0 0 100%;justify-items:start}}
@media (max-width:339px){.hum .shop .btn,.hum .pair{flex:1 1 100%}.hum .pair{flex-direction:column}}
@media (min-width:900px){@media not all and (hover:hover) and (pointer:fine){.hum .top:has(.shop){--over:516px}}}
@media not all and (hover:hover) and (pointer:fine){.hum .mouse,.hum .pill .m{display:none}.hum .touch{display:block}.hum .pill .t{display:inline}}

/* proof: the clip, its sound level, two moments */
.hum .block{padding-top:112px}
.hum .proof .screen{margin-top:32px}
.hum .level{display:block;width:100%;height:56px;margin-top:16px;overflow:visible}
.hum .level path{fill:none;stroke:var(--line);stroke-width:2;vector-effect:non-scaling-stroke}
.hum .level .lit{stroke:var(--ink);clip-path:inset(-8px 100% -8px 0)}
.hum .ctl{display:flex;align-items:center;gap:24px;margin-top:12px}
.hum .seg{display:inline-flex;flex-wrap:wrap;max-width:100%;padding:4px;border:1px solid var(--line);border-radius:28px}
.hum .seg button{flex:1 1 auto;min-height:44px;padding:0 20px;border:0;border-radius:999px;background:none;color:var(--ink);font:500 1rem/1.5rem var(--sans);cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:background-color .15s,transform .15s var(--ease)}
@media (hover:hover) and (pointer:fine){.hum .seg button:hover{background:var(--off)}}
.hum .seg button:active{transform:scale(.97)}
.hum .seg button[aria-pressed=true]{background:var(--ink);color:var(--paper)}

/* gallery */
.hum .gallery h2{margin-bottom:40px}
.hum .group{display:grid;grid-template-columns:200px minmax(0,1fr);gap:32px}.hum .group+.group{margin-top:56px}
.hum .cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 24px;align-content:start}
.hum figure{min-width:0}
.hum .media{position:relative;aspect-ratio:16/9;border-radius:14px;overflow:hidden;background:var(--paper-2)}
.hum figcaption{margin-top:12px}
.hum .name{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font:500 1.125rem/1.75rem var(--sans);letter-spacing:0}
.hum .free{font-size:.875rem}
.hum figcaption .line{font-size:.9375rem;line-height:1.375rem;color:var(--muted)}

/* launch only: at home; rest and sound under the proof */
.hum dl{margin-top:40px;display:grid;gap:24px}.hum dl div{display:grid;grid-template-columns:280px minmax(0,1fr);gap:24px}
.hum dt{font-weight:500}.hum dd{color:var(--muted)}
.hum .two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px;margin-top:56px}.hum .two h3{margin-bottom:12px}.hum .two p{max-width:520px}

/* join and price panel */
.hum .panel{display:flex;justify-content:space-between;align-items:center;gap:48px;margin-block:112px 0;padding:96px var(--gutter);text-align:left}
.hum .panel .words{flex:1;max-width:560px;min-width:0}
.hum .panel .signup{margin-top:28px}
.hum .panel .form input[type=email]{background:var(--paper)}
.hum .panel .media{width:min(544px,50%);flex:none}
/* the price: its own wallpaper first, the words under it */
.hum #price{flex-direction:column;gap:40px;padding-block:64px}.hum #price>*{width:min(920px,100%)}.hum #price>.words{flex:none;max-width:920px}

/* footer: the studio's row; at launch Humglow's links above it */
.hum .site-foot{margin-top:112px;border-top:1px solid var(--off);padding:24px var(--side) calc(24px + env(safe-area-inset-bottom))}
.hum .site-foot nav{flex-wrap:wrap}
.hum .own{flex-basis:100%}.hum .own>div{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:0 24px}
.hum .who{color:var(--ink)}

@media (max-width:1099px){.hum .panel .media{display:none}}
@media (max-width:899px){
  body.hum{font-size:1.0625rem;line-height:1.53}
  .hum h1{font-size:2.5rem;line-height:1.1}
  .hum h2{font-size:1.875rem;line-height:1.134}.hum h3{font-size:1.375rem}
  .hum .site-head{min-height:56px}.hum .intro{padding:24px 0 0}
  .hum .top{display:block}.hum .top>.screen{margin:16px 0 20px;border-radius:12px}
  .hum .hicon{width:64px;height:64px;margin-bottom:16px}
  .hum .act .lead{margin-bottom:20px}
  .hum .screen{border-radius:12px}
  .hum .form.note input[type=email]{flex:1 1 100%}
  .hum .form.note .btn{flex:1 1 100%;margin-top:12px;white-space:normal}
  .hum .block{padding-top:80px}.hum .gallery h2{margin-bottom:32px}
  .hum .group{display:block}.hum .group h3{margin-bottom:16px}.hum .group+.group{margin-top:40px}
  .hum .cards{grid-template-columns:minmax(0,1fr);gap:24px}
  .hum .ctl{flex-direction:column;align-items:flex-start;gap:12px}
  .hum dl div{grid-template-columns:minmax(0,1fr);gap:0}
  .hum .two{grid-template-columns:minmax(0,1fr);gap:40px;margin-top:48px}
  .hum .panel{margin-top:80px;padding-block:56px}
  .hum #price{gap:24px;padding-block:56px}
  .hum .site-foot{margin-top:80px}
  .hum .own nav{margin-left:-12px}.hum .own nav a{padding-inline:12px}
}
/* the studio's links are padded 7px here (site.css): pulled back so a wrapped row starts on the same edge as the others */
@media (max-width:480px){.hum .site-foot>nav{margin-inline:-7px}}
@media (max-width:359px){.hum .seg button{padding:0 12px}.hum .hr .pill{padding:0 12px}}
