/* Never Found account pages: the site's fog, glass cards, Space Grotesk headings, pill buttons. */

/* Fonts, served from here (no Google Fonts: nothing about a visitor reaches a third party).
   The same files as neverfoundaudio.com/assets/fonts: variable fonts, one per subset, so one
   file covers every weight. latin covers English and German; latin-ext loads only when needed.
   SIL Open Font License. */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url(/fonts/space-grotesk-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url(/fonts/space-grotesk-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f4f3f8;
  --card: rgba(255, 255, 255, 0.72);
  --ink: #14141b;
  --text: #3b3946;
  --muted: #7b788c;
  --accent-rgb: 109 40 217;
  --accent: rgb(var(--accent-rgb));
  --accent-dark: #55209f;
  --wash: #efe7fd;
  --shade: 40 18 74;
  --line: rgb(var(--shade) / 0.1);
  --ok: #1f9d6b;
  --warn: #c2410c;
  --font-display: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-text: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(0.25, 1, 0.2, 1);
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.55 var(--font-text);
  -webkit-font-smoothing: antialiased;
}
body {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 0 16px 48px;
}
/* The site's fog: two soft blooms behind everything. */
body::before,
body::after {
  content: '';
  position: fixed;
  z-index: -1;
  width: 60vmax;
  height: 60vmax;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  pointer-events: none;
}
body::before {
  top: -25vmax;
  left: -15vmax;
  background: radial-gradient(circle, #c9b3f5, transparent 70%);
}
body::after {
  right: -20vmax;
  bottom: -30vmax;
  background: radial-gradient(circle, #f3c6e8, transparent 70%);
}

header.top {
  width: 100%;
  max-width: 960px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 4px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font: 700 12px var(--font-display);
  letter-spacing: 0.24em;
}
.brand svg {
  width: 28px;
  height: 28px;
}
.top-link {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}
.top-link:hover {
  color: var(--ink);
}

main {
  width: 100%;
  max-width: 440px;
  margin-top: 4vh;
}
main.wide {
  max-width: 720px;
}
.card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 24px;
  padding: 32px 30px;
  box-shadow: 0 1px 2px rgb(var(--shade) / 0.05), 0 20px 50px -24px rgb(var(--shade) / 0.32);
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  animation: rise 600ms var(--ease) both;
}
.card + .card {
  margin-top: 16px;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}
h1 {
  margin: 0 0 6px;
  font: 700 30px/1.1 var(--font-display);
  letter-spacing: -0.03em;
  color: var(--ink);
}
h2 {
  margin: 0 0 14px;
  font: 700 18px/1.2 var(--font-display);
  letter-spacing: -0.01em;
  color: var(--ink);
}
.lede {
  margin: 0 0 24px;
  color: var(--muted);
}
.kicker {
  display: block;
  margin-bottom: 10px;
  font: 700 11px var(--font-display);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Fields */
form {
  display: grid;
  gap: 12px;
}
label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font: 15px var(--font-text);
  outline: none;
  transition: border-color 160ms, box-shadow 160ms;
}
input:focus {
  border-color: rgb(var(--accent-rgb) / 0.6);
  box-shadow: 0 0 0 4px rgb(var(--accent-rgb) / 0.12);
}
input.code {
  height: 58px;
  text-align: center;
  font: 700 28px var(--font-display);
  letter-spacing: 0.4em;
  padding-left: calc(14px + 0.4em);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  font: 600 15px var(--font-text);
  text-decoration: none;
  cursor: pointer;
  transition: transform 120ms var(--ease), background 200ms, box-shadow 200ms, opacity 200ms;
}
.btn:active {
  transform: scale(0.98);
}
.btn[disabled] {
  opacity: 0.55;
  cursor: default;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgb(var(--accent-rgb) / 0.7);
}
.btn-primary:hover:not([disabled]) {
  background: var(--accent-dark);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  border-color: rgb(var(--shade) / 0.22);
}
.btn-danger {
  background: transparent;
  color: var(--warn);
  border: 1px solid rgb(194 65 12 / 0.3);
}
.btn.sm {
  width: auto;
  height: 38px;
  padding: 0 16px;
  font-size: 14px;
}
.social {
  display: grid;
  gap: 10px;
}
.social:empty {
  display: none;
}
.social .btn svg {
  width: 18px;
  height: 18px;
}
.or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 13px;
}
.or::before,
.or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}
.social:empty + .or {
  display: none;
}
.links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  font-size: 14px;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  color: var(--accent-dark);
}
button.link {
  border: 0;
  padding: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  cursor: pointer;
}
.msg {
  min-height: 0;
  margin: 0;
  font-size: 14px;
}
.msg:empty {
  display: none;
}
.msg.err {
  color: var(--warn);
}
.msg.ok {
  color: var(--ok);
}
.fine {
  margin: 16px 0 0;
  font-size: 12.5px;
  color: var(--muted);
}
[hidden] {
  display: none !important;
}

/* Account page */
.plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.plan-name {
  font: 700 26px/1.1 var(--font-display);
  letter-spacing: -0.02em;
  color: var(--ink);
}
.badge {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--wash);
  color: var(--accent-dark);
  font: 700 11px var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  vertical-align: middle;
}
.badge.off {
  background: rgb(194 65 12 / 0.1);
  color: var(--warn);
}
.badge.pro {
  background: var(--accent);
  color: #fff;
}
.prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}
.price {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: var(--text);
  transition: border-color 200ms, transform 200ms var(--ease), box-shadow 200ms;
}
.price:hover {
  border-color: rgb(var(--accent-rgb) / 0.5);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -18px rgb(var(--shade) / 0.4);
}
.price b {
  font: 700 26px var(--font-display);
  color: var(--ink);
  letter-spacing: -0.02em;
}
.price small {
  color: var(--muted);
}
.price .save {
  justify-self: start;
  margin-top: 6px;
}
.rows {
  display: grid;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.row:first-child {
  border-top: 0;
}
.row .what {
  display: grid;
}
.row .what b {
  color: var(--ink);
  font-weight: 600;
}
.row .what span {
  color: var(--muted);
  font-size: 13px;
}
.empty {
  color: var(--muted);
  font-size: 14px;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.banner {
  margin-bottom: 16px;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--wash);
  color: var(--accent-dark);
  font-weight: 500;
}

/* Kerf hand-off */
.kerf-mark {
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
}
.who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 22px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
}
.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font: 700 16px var(--font-display);
  overflow: hidden;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 520px) {
  .card {
    padding: 26px 20px;
  }
  .prices {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .card {
    animation: none;
  }
}

/* Legal links at the foot of every page. */
footer.foot {
  margin-top: auto;
  padding-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 8px;
  font-size: 12.5px;
  color: var(--muted);
}
footer.foot a {
  color: var(--muted);
}
footer.foot a:hover {
  color: var(--ink);
}

/* Account page: the quiet way to the prices while the trial hasn't started, and the download. */
.quiet {
  margin-top: 16px;
  font-size: 14px;
}
.under {
  margin: 8px 0 0;
  font-size: 12.5px;
  color: var(--muted);
}

/* The bot check: invisible unless Cloudflare asks for a click. */
.captcha {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}
.captcha:empty {
  display: none;
}

/* Two-factor sign-in: the code prompt over a page, and setting it up on the account page. */
.mfa-cover {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgb(244 243 248 / 0.86);
  backdrop-filter: blur(10px);
}
.mfa-card {
  width: min(420px, 100%);
  display: grid;
  gap: 12px;
}
.mfa-card h1 {
  margin: 0;
}
.mfa-code {
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: center;
  font: 600 24px var(--font-display);
  letter-spacing: 0.2em;
}
.mfa-setup {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: flex-start;
  margin: 8px 0 14px;
}
.mfa-setup .qr {
  border-radius: 12px;
  background: #fff;
  image-rendering: pixelated;
  border: 1px solid var(--line);
}
.mfa-setup > div {
  flex: 1 1 200px;
  font-size: 14px;
}
.mfa-setup p {
  margin: 0 0 10px;
}
.mfa-key {
  display: inline-block;
  margin-top: 4px;
  font-size: 13px;
  word-break: break-all;
}
.mfa-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
  margin: 8px 0;
}
.mfa-inline label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}
.mfa-inline input {
  height: 40px;
  width: 170px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: 600 18px var(--font-display);
  letter-spacing: 0.12em;
}
.mfa-backup {
  columns: 2;
  margin: 8px 0 14px;
  padding-left: 22px;
}
