/* mosaic.dj: the Mac app's own site, in the app's own look (brand/: Obsidian, white glass, Poppins), and the house
   style for pages of this kind: a field and a button, a little glass, nothing more (the operator: "so over designed").
   The home page has its own (home.css); every other page has this, with the home page's frame: its bar, the strip, its
   foot, and its two moments (data-mode, below). */
@font-face{font-family:Poppins;src:url(/fonts/poppins-400.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:Poppins;src:url(/fonts/poppins-700.woff2) format("woff2");font-weight:700;font-display:swap}
/* (while Poppins is on its way, a stand-in the same size, so the words keep their place when it arrives: home.css) */
@font-face{font-family:"Poppins Fallback";font-weight:400;src:local("Arial"),local("ArialMT");size-adjust:109.5%;ascent-override:95.9%;descent-override:32%;line-gap-override:9.1%;unicode-range:U+0020-007E,U+00A0-00FF,U+2018-2019,U+201C-201D,U+2022,U+20AC,U+2122,U+2212}
@font-face{font-family:"Poppins Fallback";font-weight:600 700;src:local("Arial Bold"),local("Arial-BoldMT");size-adjust:104.5%;ascent-override:100.5%;descent-override:33.5%;line-gap-override:9.6%;unicode-range:U+0020-007E,U+00A0-00FF,U+2018-2019,U+201C-201D,U+2022,U+20AC,U+2122,U+2212}
:root{--bg:#050507;--card:rgba(255,255,255,.045);--line:rgba(255,255,255,.1);--txt:#f4f4f7;--dim:#9b9ba8;
  --voc:#2ECC71;--ins:#4DA6FF;--drm:#FF4D4D;color-scheme:dark;
  /* the strip, as the home page has it (assets/home.css, THE STRIP): the stems at half strength, and the spectrum */
  --strip:linear-gradient(90deg,rgba(77,166,255,.5),rgba(46,204,113,.45),rgba(255,77,77,.5),rgba(77,166,255,.5));
  --spectrum:linear-gradient(90deg,#4da6ff,#2ad5e5,#2ecc71,#efb229,#ff4d4d,#9e60e8,#4da6ff);
  /* the grain laid over a large gradient so it never bands (scripts/grain.mjs; home.css GRAIN) */
  --grain:image-set(url(/assets/img/grain.png) 1x,url(/assets/img/grain.png) 2x,url(/assets/img/grain.png) 3x)}
/* (blended as the spectrum is, through gold and violet, not through plain sRGB's olive, where a browser can) */
@supports (background:linear-gradient(in oklch,red,blue)){:root{--strip:linear-gradient(in oklch 90deg,rgba(77,166,255,.5),rgba(46,204,113,.45),rgba(255,77,77,.5),rgba(77,166,255,.5))}}
/* the site's two moments, as the home page has them: before the download (prelaunch) and with it (launch); every page
   says which on <html data-mode>, all the same one (test/mosaic-site-pages.test.js) */
[data-mode="prelaunch"] [data-when="launch"],[data-mode="launch"] [data-when="prelaunch"]{display:none!important}
::selection{background:rgba(77,166,255,.34);color:#fff}
*{box-sizing:border-box}
html{background:var(--bg)}
/* (as tall as the screen at least, the foot at its bottom) */
body{margin:0;min-height:100vh;min-height:100svh;display:flex;flex-direction:column;background:var(--bg);color:var(--txt);font:15px/1.5 Poppins,"Poppins Fallback",-apple-system,"Helvetica Neue",Arial,sans-serif;-webkit-font-smoothing:antialiased}
/* the strip along the top of every page, a mark of the spectrum over its heading, and the spectrum all the way round its
   main button */
body::before{content:"";display:block;flex:none;height:2px;background:var(--strip)}
a{color:var(--txt)}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--ins);outline-offset:2px}
/* the bar: the home page's lockup, and the links, this page's own marked as the home page marks a link under the hand */
.top{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;max-width:1080px;margin:0 auto;padding:16px 28px}
.top img{height:28px;width:auto;display:block}
.top nav{display:flex;gap:22px;font-size:15px}
.top nav a{color:var(--dim);text-decoration:none;padding-block:10px;background:var(--spectrum) 0 calc(100% - 6px)/0 2px no-repeat;transition:background-size .35s cubic-bezier(.4,0,.2,1),color .2s}
.top nav a[aria-current]{color:var(--txt);background-size:100% 2px}
@media (hover:hover){.top nav a:hover{color:var(--txt);background-size:100% 2px}}
main{flex:1 0 auto;width:100%;max-width:440px;margin:48px auto 72px;padding:0 20px;position:relative;isolation:isolate}
main.wide{max-width:760px}
/* (a little of the strip's light behind the glass, for the glass to be glass) */
main::before{content:"";position:absolute;z-index:-1;left:14%;right:14%;top:150px;height:140px;background:var(--strip);filter:blur(80px);opacity:.3;pointer-events:none}
/* (and the grain over that light, so its steps scatter (home.css GRAIN): the page's own layer under everything on it,
   the window's width and no wider, at the light's height; whole wherever the light is a step of colour or more (130 px
   past its box), gone by where it is none (200 px past)) */
body{position:relative;z-index:0}
body::after{content:"";position:absolute;z-index:-1;left:0;right:0;top:60px;bottom:0;max-height:580px;background-image:var(--grain);pointer-events:none;
  -webkit-mask:radial-gradient(380px 270px at 50% 285px,#000 76%,transparent);mask:radial-gradient(380px 270px at 50% 285px,#000 76%,transparent)}
body:has(main.wide)::after{-webkit-mask-image:radial-gradient(530px 270px at 50% 285px,#000 76%,transparent);mask-image:radial-gradient(530px 270px at 50% 285px,#000 76%,transparent)}
h1{font-size:26px;line-height:1.2;margin:0 0 22px;font-weight:700;letter-spacing:-.01em;text-wrap:balance}
h1::before{content:"";display:block;width:32px;height:3px;border-radius:2px;background:var(--spectrum);margin-bottom:16px}
h2{font-size:18px;line-height:1.3;margin:40px 0 12px;font-weight:700;text-wrap:balance}
p{margin:0 0 14px;color:var(--dim)}
p,.said,.check span,dd,li{text-wrap:pretty}
main.wide>p{max-width:64ch}
.card{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:24px;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}
/* (a form's parts one gap apart, and its line of news taking no room while it has nothing to say) */
form{display:flex;flex-direction:column;gap:14px}
form>p{margin:0}
label{display:grid;gap:6px;font-size:13px;color:var(--dim)}
input,select{font:inherit;font-size:15px;color:var(--txt);background:rgba(0,0,0,.35);border:1px solid var(--line);border-radius:10px;padding:11px 13px;width:100%}
input:focus,select:focus{border-color:rgba(255,255,255,.3)}
input::placeholder{color:#6b6b78}
/* (the browser's own select and checkbox, drawn as the house's: a chevron, an empty choice as quiet as a placeholder) */
select{-webkit-appearance:none;appearance:none;padding-right:38px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%239b9ba8' stroke-width='1.6'/%3E%3C/svg%3E") right 14px center no-repeat,rgba(0,0,0,.35)}
select:invalid{color:var(--dim)}
option{color:var(--txt);background:#121218}
input[type=checkbox]{-webkit-appearance:none;appearance:none;flex:none;width:18px;height:18px;margin:1px 0 0;padding:0;border:1px solid rgba(255,255,255,.3);border-radius:5px;background:rgba(0,0,0,.35);display:grid;place-content:center;cursor:pointer;transition:background-color .15s,border-color .15s}
input[type=checkbox]:checked{background:#fff;border-color:#fff}
input[type=checkbox]:checked::after{content:"";width:9px;height:5px;border:2px solid #0b0b0e;border-top:0;border-right:0;transform:translateY(-1px) rotate(-45deg)}
.row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.check{display:flex;gap:10px;align-items:flex-start;font-size:13px;color:var(--dim);cursor:pointer}
button,.button{font:inherit;font-weight:700;--btn-r:10px;border-radius:var(--btn-r);padding:11px 15px;border:1px solid transparent;cursor:pointer;background:#fff padding-box;color:#0b0b0e;text-align:center;text-decoration:none;display:inline-block;transition:background-color .2s,transform .2s}
button.quiet,.button.quiet{background:rgba(255,255,255,.08);color:var(--txt)}
button.danger{background:rgba(255,77,77,.16);color:#ffb3b3}
/* The main button has the spectrum all the way round it, as the home page's main buttons do (home.css says why). The
   ring is drawn inside the button, so the button keeps its size (the clear 1 px border and the padding a pixel less
   add up to what it had). It's 2 px on a standard screen and 1.5 px on a sharper one, so it's crisp on both. */
:root{--ring:conic-gradient(from -90deg,#4da6ff,#2ad5e5,#2ecc71,#efb229,#ff4d4d,#9e60e8,#4da6ff)}
button:not(.quiet):not(.danger):not(:disabled):not([aria-disabled="true"]),.button:not(.quiet){position:relative}
button:not(.quiet):not(.danger):not(:disabled):not([aria-disabled="true"])::before,.button:not(.quiet)::before{content:"";box-sizing:border-box;position:absolute;left:-1px;top:-1px;width:calc(100% + 2px);height:calc(100% + 2px);border-radius:var(--btn-r);padding:2px;background:var(--ring);pointer-events:none;
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask-composite:exclude}
/* (drawn at twice the size and scaled down by half, for an even 1.5 px: see home.css) */
@media (min-resolution:2dppx){button:not(.quiet):not(.danger):not(:disabled):not([aria-disabled="true"])::before,.button:not(.quiet)::before{width:calc(200% + 4px);height:calc(200% + 4px);border-radius:calc(var(--btn-r) * 2);padding:3px;transform:scale(.5);transform-origin:0 0}}
/* (and the faint glow of its colours just outside it, cut away inside the button: see home.css. None in forced colours,
   where the button keeps its plain border) */
button:not(.quiet):not(.danger):not(:disabled):not([aria-disabled="true"])::after,.button:not(.quiet)::after{content:"";box-sizing:border-box;position:absolute;left:-25px;top:-25px;width:calc(100% + 50px);height:calc(100% + 50px);border:24px solid transparent;border-radius:calc(var(--btn-r) + 24px);padding:3px;background:var(--ring) content-box;filter:blur(10px);opacity:.42;pointer-events:none;
  -webkit-mask:linear-gradient(#000 0 0) padding-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) padding-box,linear-gradient(#000 0 0);mask-composite:exclude}
button:not(.quiet):not(.danger):not(:disabled):not([aria-disabled="true"])::after,.button:not(.quiet)::after{transition:opacity .25s cubic-bezier(.2,.7,.2,1)}
@media (forced-colors:active){button::before,button::after,.button::before,.button::after{display:none}}
@media (hover:hover){
  /* (the white stays white under the pointer, and the ring's glow comes up: see home.css) */
  button:not(:disabled):not([aria-disabled="true"]):not(.quiet):not(.danger):hover::after,.button:not(.quiet):hover::after{opacity:.8}
  button.quiet:not(:disabled):hover,.button.quiet:hover{background-color:rgba(255,255,255,.12)}
  button.danger:not(:disabled):hover{background-color:rgba(255,77,77,.24)}}
button:not(:disabled):not([aria-disabled="true"]):active,.button:active{transform:translateY(1px)}
/* (a button that can't be pressed, or is held while it keeps the keyboard's focus, has no ring) */
button:disabled,button[aria-disabled="true"]{cursor:default;background:rgba(255,255,255,.06);color:var(--dim)}
.said{min-height:1.4em;font-size:13px;margin:0}
.said:empty{min-height:0;margin-top:-14px}
.said[data-kind=error]{color:#ff9a9a}
.said[data-kind=ok]{color:var(--voc)}
.said[data-kind=ok]::before{content:"";display:inline-block;width:18px;height:3px;border-radius:2px;background:var(--spectrum);vertical-align:middle;margin:-3px 10px 0 0}
.said[data-kind=note]{color:var(--dim)}
.links{display:flex;justify-content:space-between;gap:12px;font-size:13px;margin-top:18px}
.links a{color:var(--dim)}
dl{display:grid;grid-template-columns:max-content 1fr;gap:8px 18px;margin:0 0 6px}
dl:empty{display:none}
dt{color:var(--dim);font-size:13px}
dd{margin:0}
.macs{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.macs li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--line);border-radius:10px}
.plans{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.plan{display:grid;gap:10px;align-content:start;position:relative}
/* (a subscription's card edged with the strip, as the home page's price card is: the Idea Book's R4 brand moments, which
   the operator took on 3 November 2026. Laid round the card's own edge, so the glass inside it stays glass; blended as
   the spectrum is where the browser can, green and red meeting in gold, not in plain sRGB's olive) */
.plan::after{content:"";position:absolute;inset:-1px;border-radius:inherit;padding:1px;pointer-events:none;
  background:conic-gradient(from -90deg,rgba(77,166,255,.5),rgba(46,204,113,.45) 120deg,rgba(255,77,77,.5) 240deg,rgba(77,166,255,.5));
  background:conic-gradient(from -90deg in oklch,rgba(77,166,255,.5),rgba(46,204,113,.45) 120deg,rgba(255,77,77,.5) 240deg,rgba(77,166,255,.5));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;
  mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask-composite:exclude}
.plan>:empty{display:none}
.plan b{display:flex;align-items:center;gap:10px}
.plan .price{font-size:30px;font-weight:700;color:var(--txt)}
.plan .price small{font-size:15px;font-weight:400;color:var(--dim)}
.plan .tag{font-size:12px;font-weight:700;padding:3px 7px;border-radius:6px;background:rgba(46,204,113,.16);color:#7ddfa7}
.terms{font-size:12px;color:var(--dim);text-wrap:pretty}
.mono{font-family:ui-monospace,Menlo,monospace;font-size:12px;word-break:break-all;color:var(--dim)}
[hidden]{display:none!important}
.gap{margin-top:16px}
main.wide form>button{align-self:flex-start}
/* the foot of every page: its links alone, the legal pages and the company's, which says the trade mark notice
   (lib/trademarks.js); as wide as the page above it */
footer.site{width:100%;max-width:440px;margin:0 auto;padding:0 20px 24px;font-size:13px;line-height:1.5;color:var(--dim)}
main.wide~footer.site{max-width:760px}
footer.site::before{content:"";display:block;height:1px;background:var(--spectrum);opacity:.45;margin-bottom:10px}
/* (the links in lines of even length, so none is ever left alone on the last: each kept whole, the lines balanced) */
footer.site p{margin:0;text-wrap:balance}
footer.site a{display:inline-block;white-space:nowrap}
footer.site a:not(:last-child){margin-right:18px}
footer.site a{color:inherit;text-decoration:none;padding-block:8px;background:var(--spectrum) 0 calc(100% - 5px)/0 1.5px no-repeat;transition:background-size .35s cubic-bezier(.4,0,.2,1),color .2s}
@media (hover:hover){footer.site a:hover{color:var(--txt);background-size:100% 1.5px}}
@media (max-width:640px){
  .plans{grid-template-columns:1fr}
  .top{padding:14px 20px}
  .top nav{font-size:14px;gap:16px}
  main{margin-top:28px}
  body::after{top:34px}
  /* (iPhone Safari zooms into a field under 16 px) */
  input,select{font-size:16px}
}
@media (max-width:400px){.top{flex-wrap:wrap;row-gap:2px}.top img{height:24px}.top nav{gap:14px}}

/* ================================================================ THE SHARED LAYER'S MOTION AND LIGHT (3 November 2026)
   The operator: "nice fade-ins and nice little thoughtful animations that write stuff out ... activate on scroll"; "The
   glowing rainbow dividers and little rainbow headers can go sitewide". The page's own lines draw across as it comes in,
   the strip at the top glows a little, what was below the window rises into place as it scrolls in (motion.js, from
   site.js: only what a script found below the window is ever hidden), and the controls move as they are used: the same
   look, moving. Asked for less motion, nothing moves; printed, everything is there. */
/* the strip along the top draws across as the page opens, a little light under it */
body::before{transform-origin:0 50%;animation:site-draw 1s cubic-bezier(.65,0,.35,1) both}
header.top{position:relative}
header.top::before{content:"";position:absolute;left:12%;right:12%;top:-20px;height:30px;background:var(--strip);filter:blur(22px);opacity:.32;pointer-events:none;animation:site-glow 1.6s ease .2s both}
/* the mark over a heading draws across; the bar's mark under the page it is on draws in under it */
h1::before{transform-origin:0 50%;animation:site-draw .8s cubic-bezier(.65,0,.35,1) .15s both}
.top nav a[aria-current]{animation:site-underline .7s cubic-bezier(.4,0,.2,1) .3s both}
@keyframes site-draw{from{transform:scaleX(0)}}
@keyframes site-glow{from{opacity:0}}
@keyframes site-underline{from{background-size:0 2px}}
/* a page of text (the legal pages: words, no form, no card) comes in as a whole, once, calmly */
main.wide:not(:has(form,.card,.plans,.macs)),main.legal{animation:site-page .7s ease both}
@keyframes site-page{from{opacity:0}}
/* what was below the window comes up into place as it scrolls in (motion.js) */
.rv{opacity:0;transform:translateY(14px)}
.rv.rv-in{opacity:1;transform:none;transition:opacity .42s cubic-bezier(.2,.7,.2,1) var(--rv-d,0ms),transform .42s cubic-bezier(.2,.7,.2,1) var(--rv-d,0ms)}
.rv-now{transition:none!important}
/* the controls, moving as they are used: a field's ring settles in as it takes focus; the tick draws itself; a button
   lifts a little under the hand and gives a little when pressed; what a form says comes in */
input,select{transition:border-color .2s,background-color .2s}
input:focus-visible,select:focus-visible{animation:site-ring .28s cubic-bezier(.2,.7,.2,1)}
@keyframes site-ring{from{outline-offset:7px;outline-color:transparent}}
input[type=checkbox]:checked::after{animation:site-tick .3s cubic-bezier(.2,.7,.2,1) both}
@keyframes site-tick{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
button,.button{transition:background-color .2s,transform .18s cubic-bezier(.2,.7,.2,1),box-shadow .25s}
@media (hover:hover){button:not(:disabled):not([aria-disabled="true"]):not(.quiet):not(.danger):hover,.button:not(.quiet):hover{transform:translateY(-1px);box-shadow:0 8px 22px rgba(77,166,255,.1),0 2px 8px rgba(0,0,0,.35)}}
button:not(:disabled):not([aria-disabled="true"]):active,.button:active{transform:translateY(1px) scale(.985);transition-duration:.08s}
.said.said-in{animation:site-said .35s cubic-bezier(.2,.7,.2,1)}
@keyframes site-said{from{opacity:0;transform:translateY(-3px)}}
/* THE ACCOUNT FORMS (sign in, make an account, reset, verify, the Mac's sign-in), each a panel of its own. The operator,
   3 November, of sign in: "Panel could have our nice rainbow edge. Gradient inside it is a bit much. Rainbow above sign
   in can go". So the panel's edge is the strip, round it, as the home page's price card has it; the light behind the
   glass is a third as strong; and no mark of the spectrum over the heading. (site-content was asked for the edge too:
   keep one at the merge) */
:root{--strip-round:conic-gradient(from -90deg,rgba(77,166,255,.5),rgba(46,204,113,.45) 120deg,rgba(255,77,77,.5) 240deg,rgba(77,166,255,.5))}
main:has(#signin,#signup,#ask,#verify,#who) h1::before{display:none}
main:has(#signin,#signup,#ask,#verify,#who)::before{opacity:.1}
main:has(#signin,#signup,#ask,#verify,#who) .card{position:relative;border-color:transparent}
main:has(#signin,#signup,#ask,#verify,#who) .card::before{content:"";position:absolute;inset:-1px;border-radius:inherit;padding:1px;background:var(--strip-round);pointer-events:none;
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask-composite:exclude}
@media print{.rv,.rv.rv-in{opacity:1!important;transform:none!important}body::before,h1::before,main,header.top::before{animation:none!important}}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition-duration:.01ms!important}
  .rv{opacity:1!important;transform:none!important}
}
