/* Rezt public pages: the dark cosmic theme, liquid glass (glass.js draws it; the CSS below is its fallback), and the
   nav with its menu. Shared by the landing, pricing, privacy, daily and phone pages. */
@import url(/static/menu.css);
:root{
  --paper:#000;--paper-deep:#050505;--ink:#f1ece3;--ink-2:#cfc8bc;--muted:#a39d93;--faint:#78726a;
  --ember:#f0643a;--ember-deep:#ff7d55;
  --hi:255 255 255;--ink-rgb:241 236 227;--paper-rgb:0 0 0;--surface-rgb:255 255 255;--glass-rgb:34 31 28;--field-rgb:12 12 12;--ember-rgb:240 100 58;
  --card:rgb(var(--hi) / .05);--field:#0a0a0a;--field-strong:#111;--knob:#000;--em:#b8b0a2;--ink-hover:#fff;
  --grain-blend:screen;--grain-opacity:.09;
  color-scheme:dark;
}
main,.site-footer{position:relative;z-index:1}
.glass-canvas{position:fixed;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;display:block;background-color:var(--paper)}
/* Safari 26 fills the strips under its status bar and toolbar with the colour of a fixed layer touching that edge; a
   canvas has none of its own, so the sky's base colour is set here (black, or cream in light mode). */
/* Fallback glass (no WebGL): frosted, with a bright top edge. Replaced entirely when glass.js is running. */
[data-glass]{border:1px solid rgb(var(--hi) / .14);background:linear-gradient(160deg,rgb(var(--hi) / .11),rgb(var(--hi) / .03) 55%,rgb(var(--hi) / .06));
  box-shadow:inset 0 1px 0 rgb(var(--hi) / .3),inset 0 -1px 0 rgb(var(--hi) / .06),0 18px 44px rgb(0 0 0 / .55);
  -webkit-backdrop-filter:blur(18px) saturate(1.5);backdrop-filter:blur(18px) saturate(1.5)}
html:not(.glass-gl) body{background:radial-gradient(60% 38% at 50% 14%,rgb(240 100 58 / .16),transparent 70%),radial-gradient(50% 30% at 88% 62%,rgb(247 168 128 / .12),transparent 70%),#000}
html.glass-gl [data-glass]{border-color:transparent;background:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
/* The studio's glass already blurs and bends what is behind it, so boxes get no extra pane. */
html.glass-gl [data-glass]{isolation:isolate}
/* The closing button is light, so its label is dark on this dark page (rezt.css gives it the page ink). */
.closing .button-paper{color:#1b1916}
main{overflow-x:clip}
/* The studio's glass bevel is 20px thick, so corners need a larger radius than that to stay smooth. */
.nav{border-radius:29px}
/* The nav: no bar. The z floats on its own; the links and button sit in a small smoked capsule, where the studio's
   glass lens (glass.js) slides under the link you point at. */
.nav{background:none;border:0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;padding:0 0 0 14px;pointer-events:none}
.nav>*{pointer-events:auto}
.nav>.logo{position:relative;z-index:3}
/* The z gets the same smoked backing as the links, so headlines scrolling under it never collide with it. */
/* The z: large, no backing, centred in the dotted band at the page's left edge and level with the links. */
.nav>.logo{width:auto;height:auto;margin:0;font-size:58px;text-shadow:0 0 18px rgb(0 0 0 / .9),0 0 4px rgb(0 0 0 / .8)}
@media(min-width:760px){
  .nav>.logo{position:absolute;top:50%;left:calc(clamp(18px,7vw,120px) / 2 - max(clamp(18px,4vw,48px),env(safe-area-inset-left)));transform:translate(-50%,-50%)}
  .nav>.logo:hover{transform:translate(-50%,-50%) rotate(-6deg)}
}
/* A soft black fade behind the top of the page, so the nav stays clear over whatever scrolls beneath it. */
.nav::before{content:"";position:fixed;left:0;right:0;top:0;height:150px;z-index:-1;pointer-events:none;
  background:linear-gradient(#000 0%,rgb(0 0 0 / .82) 38%,rgb(0 0 0 / .4) 70%,transparent)}
/* Anchors land with the section rule and index just below the floating nav. */
html{scroll-padding-top:78px}
/* Phones: a compact header, so it does not take a big slice of a small screen. */
@media(max-width:759px){
  .nav{height:44px}
  .nav>.logo{font-size:40px}
  .menu-toggle{width:44px;height:44px}
  .menu-toggle span{left:10px;right:10px}
  .menu-toggle span:nth-child(1){top:14px}.menu-toggle span:nth-child(2){top:21px}.menu-toggle span:nth-child(3){top:28px}
  .menu-toggle[aria-expanded="true"] span:nth-child(1),.menu-toggle[aria-expanded="true"] span:nth-child(3){top:21px}
  html{scroll-padding-top:64px}
}
h1,h2,h3{font-family:var(--serif);font-weight:400;margin:0}
h1 em,h2 em{color:var(--ink-2)}
.closing[data-glass]{border-radius:48px;color:var(--ink)}
.closing[data-glass] h2 em{color:var(--ink-2)}
.nowrap{white-space:nowrap}
