:root{
  --bg:#F6F6F3;
  --card:#FFFFFF;
  --ink:#12141A;
  --mut:#6B7280;
  --line:#E4E4DF;
  --acc:#4F46E5;
  --acc-soft:#EEF2FF;
  --danger:#DC2626;
  --ok:#059669;
  --r:16px;
  --shadow:0 1px 2px rgba(18,20,26,.05),0 8px 24px rgba(18,20,26,.06);
}
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  background:var(--bg);color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Roboto,Helvetica,Arial,sans-serif;
  font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased;
}
a{color:var(--acc);text-decoration:none}
a:hover{text-decoration:underline}

.wrap{max-width:960px;margin:0 auto;padding:0 20px}

/* FAQ. <details> rather than JS: it is readable with scripts off, which is how a crawler that does
   not execute JavaScript sees the page, and the answers are the whole point of the section. */
.faq{max-width:760px;margin:0 auto}
.faq summary{font-weight:600;cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--acc);font-weight:700;font-size:19px;line-height:1;flex:none}
.faq details[open] summary::after{content:"\2212"}
.faq details{transition:border-color .12s}
.faq details[open]{border-color:var(--acc)}
.mt48{margin-top:48px}

/* ---- The app shell: a sidebar that keeps Record one click away ----
   Every serious recorder does this and the marketing-page top nav did not: the whole job is
   "record another one", and it was two clicks and a page away. The patterns here (sidebar, grid of
   thumbnails) are how this kind of app is laid out everywhere; the palette, the mark and the
   wording are ours. */
.app{display:grid;grid-template-columns:220px 1fr;min-height:100vh;align-items:start}
.side{position:sticky;top:0;height:100vh;border-right:1px solid var(--line);padding:20px 16px;display:flex;flex-direction:column;gap:6px;background:var(--card)}
.side .brand{margin:4px 4px 18px}
.side .rec{width:100%;justify-content:center;margin-bottom:14px}
.side a.item{display:flex;align-items:center;gap:10px;padding:9px 12px;border-radius:10px;color:var(--ink);font-size:14px;font-weight:600}
.side a.item:hover{background:var(--bg);text-decoration:none}
.side a.item.on{background:var(--acc-soft);color:var(--acc)}
.side a.item .n{margin-left:auto;font-weight:600;font-size:12px;color:var(--mut)}
.side .spacer{flex:1}
.side .foot{border-top:1px solid var(--line);padding-top:12px;font-size:12px;color:var(--mut)}
.main{padding:28px 32px;min-width:0}

/* ---- Video grid ----
   A filename list tells you nothing; you recognise a walkthrough by looking at it. */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:18px}
.vcard{background:var(--card);border:1px solid var(--line);border-radius:var(--r);overflow:hidden;cursor:pointer;transition:transform .12s,box-shadow .12s}
.vcard:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.vcard.sel{border-color:var(--acc);box-shadow:0 0 0 3px var(--acc-soft)}
.vcard .thumb{position:relative;aspect-ratio:16/9;background:#111;display:block;width:100%;object-fit:cover}
.vcard .thumbwrap{position:relative;background:#111}
.vcard .dur{position:absolute;right:8px;bottom:8px;background:rgba(0,0,0,.78);color:#fff;font-size:11px;font-weight:600;padding:2px 6px;border-radius:6px;letter-spacing:.01em}
.vcard .meta{padding:12px 14px}
.vcard .t{font-weight:600;font-size:14px;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vcard .m{font-size:12px;color:var(--mut);margin-top:3px}
@media(max-width:820px){
  .app{grid-template-columns:1fr}
  .side{position:static;height:auto;border-right:0;border-bottom:1px solid var(--line);
        flex-direction:row;align-items:center;flex-wrap:wrap;gap:8px;padding:12px 16px}
  /* brand takes the slack so Record lands hard against the right edge, then the nav items wrap
     onto a tidy second row together. Without flex:1 the items wrapped one at a time and left
     "Plans" stranded on a line of its own. */
  .side .brand{margin:0;flex:1;font-size:19px}
  .side .rec{width:auto;margin:0;padding:8px 16px}
  .side a.item{padding:6px 10px;font-size:13px}
  .side .spacer{display:none}
  .side .foot{border-top:0;padding:0;margin-left:auto}
  .side .foot #side-email{display:none}   /* no room, and you know who you are */
  .main{padding:20px}
}
.nav{display:flex;align-items:center;justify-content:space-between;padding:20px 0}
.nav-links{display:flex;gap:20px;align-items:center}
.nav-links a{color:var(--mut);font-weight:500;font-size:14px}
.nav-links a.active,.nav-links a:hover{color:var(--ink);text-decoration:none}

/* The wordmark.
   "hidden" sits back in ink and "cue" comes forward in the accent, which is the same idea as the
   prompter itself: the words behind you dimmed, the word you are on lit. The dot before it is a
   film cue mark, the spot burned into the corner of a reel to signal the projectionist that the
   audience is never meant to notice. That is the product in one character. */
/* No flex `gap` here, deliberately: gap would also push "hidden" and "cue" apart, and the brand is
   one word. The mark gets a margin instead. */
.brand{display:inline-flex;align-items:center;font-weight:800;font-size:22px;letter-spacing:-.02em;color:var(--ink)}
.brand:hover{text-decoration:none}
.brand .mark{width:9px;height:9px;border-radius:50%;background:var(--acc);flex:none;position:relative;top:-6px;margin-right:7px}
.brand .cue{color:var(--acc)}
.brand .dot{color:var(--mut);font-weight:500;font-size:13px;margin-left:6px;font-style:normal}

h1{font-size:clamp(26px,4.5vw,40px);letter-spacing:-.03em;line-height:1.15;font-weight:800}
h2{font-size:20px;letter-spacing:-.02em;font-weight:700}
.sub{color:var(--mut);font-size:16px}

.card{background:var(--card);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow)}
.pad{padding:24px}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  border:1px solid var(--line);background:var(--card);color:var(--ink);
  font:inherit;font-weight:600;font-size:15px;
  padding:10px 18px;border-radius:100px;cursor:pointer;
  transition:background .15s,border-color .15s,transform .05s;
}
.btn:hover{border-color:#c9c9c2;text-decoration:none}
.btn:active{transform:scale(.98)}
.btn.primary{background:var(--acc);border-color:var(--acc);color:#fff}
.btn.primary:hover{background:#4338CA;border-color:#4338CA}
.btn.danger{color:var(--danger);border-color:#f3c5c5}
.btn.danger:hover{background:#FEF2F2}
.btn:disabled{opacity:.45;cursor:not-allowed;transform:none}
.btn.sm{padding:6px 12px;font-size:13px}

.field{width:100%;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);font:inherit;padding:10px 12px}
.field:focus{outline:2px solid var(--acc-soft);border-color:var(--acc)}
label.lbl{display:block;font-size:13px;font-weight:600;color:var(--mut);margin:0 0 6px}

.pill{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:var(--mut);border:1px solid var(--line);border-radius:100px;padding:3px 10px;background:#fff}
.pill.on{color:var(--acc);border-color:var(--acc);background:var(--acc-soft)}

.seg{display:inline-flex;border:1px solid var(--line);border-radius:100px;background:#fff;padding:3px;gap:2px}
.seg button{border:0;background:transparent;color:var(--mut);font:inherit;font-size:13px;font-weight:600;padding:6px 14px;border-radius:100px;cursor:pointer}
.seg button.on{background:var(--ink);color:#fff}

.toast{
  position:fixed;left:50%;bottom:28px;transform:translateX(-50%) translateY(20px);
  background:var(--ink);color:#fff;font-size:14px;font-weight:500;
  padding:10px 18px;border-radius:100px;opacity:0;pointer-events:none;
  transition:opacity .2s,transform .2s;z-index:99;max-width:90vw;text-align:center;
}
.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}

.authcard{max-width:400px;margin:48px auto}
.authcard .btn{width:100%;justify-content:center}
.authcard .field{margin-top:10px}
.or{display:flex;align-items:center;gap:12px;color:var(--mut);font-size:12px;margin:16px 0}
.or::before,.or::after{content:"";height:1px;background:var(--line);flex:1}
.gicon{width:18px;height:18px;flex:0 0 auto}
/* Also used on <button> (sign out), which would otherwise keep its native grey bevel and look
   like a mis-styled control rather than a link. */
.linklike{color:var(--acc);cursor:pointer;font-weight:600;background:none;border:0;padding:0;font:inherit;font-weight:600}
.linklike:hover{text-decoration:underline}
.signout{color:var(--mut);font-weight:500;font-size:14px;background:none;border:0;cursor:pointer;font-family:inherit}
.signout:hover{color:var(--ink)}
.muted{color:var(--mut);font-size:14px}
.small{font-size:13px}
.center{text-align:center}
.row{display:flex;align-items:center;gap:12px}
.grow{flex:1}
.mt8{margin-top:8px}.mt16{margin-top:16px}.mt24{margin-top:24px}.mt40{margin-top:40px}
footer{padding:48px 0 32px;color:var(--mut);font-size:13px;text-align:center}
@media(max-width:480px){ .pad{padding:18px} }
