/*
  Base layer of the redesign: reset, type scale, buttons, reveal motion.
  Loaded by every page after site.css (it styles bare elements; the pre-redesign
  styles.css it could not be combined with is gone). Tokens come from site.css.
*/
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{background:var(--q-bg);color:var(--q-text);font-family:var(--q-sans);font-size:17px;line-height:1.47;letter-spacing:-.011em;-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:inherit;text-decoration:none}
button,input{font:inherit;color:inherit;background:none;border:0}
button{cursor:pointer}
svg{display:block}
:focus-visible{outline:2px solid var(--q-blue);outline-offset:3px;border-radius:8px}
.skip{position:absolute;inset-inline-start:12px;top:-60px;background:var(--q-text);color:#000;padding:8px 12px;border-radius:8px;z-index:200}
.skip:focus{top:12px}
.wrap{max-width:var(--q-wrap);margin:0 auto;padding:0 var(--q-gutter)}

/* Type */
.eyebrow{font-size:17px;font-weight:600;color:var(--q-muted);letter-spacing:-.01em}
.mono{font:400 12px/1.6 var(--q-mono);color:var(--q-dim);letter-spacing:0}
.h-hero{font-size:clamp(48px,7.6vw,96px);line-height:1.02;letter-spacing:-.045em;font-weight:600}
.h-xl{font-size:clamp(44px,6.6vw,80px);line-height:1.04;letter-spacing:-.04em;font-weight:600}
.h-lg{font-size:clamp(36px,5vw,64px);line-height:1.06;letter-spacing:-.035em;font-weight:600}
.h-md{font-size:clamp(22px,2.2vw,26px);line-height:1.16;letter-spacing:-.025em;font-weight:600}
/* No one-word last lines: headings balance their lines, body copy avoids orphans. */
main :is(h1,h2,h3){text-wrap:balance}
main p{text-wrap:pretty}
.g{color:var(--q-muted)}
.mix{font-size:clamp(19px,2vw,24px);line-height:1.42;font-weight:600;color:var(--q-muted);letter-spacing:-.018em}
.mix b{color:var(--q-text);font-weight:600}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;padding:0 22px;border-radius:999px;font-size:16px;font-weight:500;white-space:nowrap;
  transition:transform 160ms var(--q-ease-out),background-color 200ms ease}
.btn:active{transform:scale(.97)}
.btn svg{width:16px;height:16px}
.btn-blue{background:var(--q-blue);color:#fff}
.btn-white{background:#f5f5f7;color:#0b0b0c;box-shadow:inset 0 -1px 0 rgba(0,0,0,.15),0 0 0 1px rgba(255,255,255,.3)}
.btn-dark{background:var(--q-card-3);color:var(--q-text);box-shadow:inset 0 0 0 1px var(--q-line-2)}
.btn-sm{height:32px;padding:0 14px;font-size:14px}
.tlink{display:inline-flex;align-items:center;gap:4px;color:var(--q-blue-h);font-size:17px}
.tlink svg{width:13px;height:13px;transition:transform 200ms var(--q-ease-out)}
@media (hover:hover) and (pointer:fine){
  .btn-blue:hover{background:var(--q-blue-h)}
  .btn-white:hover{background:#fff}
  .btn-dark:hover{background:#2e2e33}
  .tlink:hover{text-decoration:underline}
  .tlink:hover svg{transform:translateX(2px)}
}
kbd{font:500 11px/1 var(--q-mono);letter-spacing:0}
.kc{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:5px;background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.1);color:#b9b9bf;font:500 11px/1 var(--q-mono)}

/* ---------- Entrance + reveal ---------- */
@keyframes rise{from{opacity:0;transform:translateY(var(--d,12px));filter:blur(6px)}to{opacity:1;transform:none;filter:none}}
@keyframes fade{from{opacity:0}to{opacity:1}}
.in{animation:rise var(--dur,700ms) var(--q-ease-out) both;animation-delay:var(--dl,0ms)}
.in-f{animation:fade 600ms ease both;animation-delay:var(--dl,0ms)}
/* Hidden only when the head script ran (html.q-js): without JS every section stays visible. */
.q-js .rv{opacity:0;transform:translateY(16px)}
.rv{transition:opacity 700ms var(--q-ease-out),transform 700ms var(--q-ease-out)}
.q-js .rv.seen{opacity:1;transform:none}
.no-io .rv,.q-js.no-io .rv{opacity:1;transform:none}

/* =================== v3: brand light theme + product touches =================== */
body{transition:background-color 700ms ease}
body.is-light{background:#f2f0eb}
.light{--q-text:#111113;--q-muted:#6e6e73;--q-dim:#a1a1a6;--q-line:rgba(0,0,0,.08);--q-line-2:rgba(0,0,0,.14);color:var(--q-text)}
.btn-ink{background:#111113;color:#fff;box-shadow:0 10px 24px -10px rgba(0,0,0,.5)}
.btn-ghost-l{background:rgba(0,0,0,.05);color:#111;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08)}
@media (hover:hover) and (pointer:fine){.btn-ink:hover{background:#000}.btn-ghost-l:hover{background:rgba(0,0,0,.08)}}
