/* Cipher & One: dark glass design. No external fonts or images. */
:root {
  --bg: #060818;
  --bg-2: #0a0e24;
  --ink: #f2f4ff;
  --muted: #9aa3c7;
  --faint: #6b7399;
  --line: rgba(255, 255, 255, .10);
  --line-strong: rgba(255, 255, 255, .22);
  --glass: rgba(255, 255, 255, .045);
  --glass-2: rgba(255, 255, 255, .08);
  --violet: #8b6bff;
  --violet-deep: #5a3df0;
  --blue: #4ea8ff;
  --teal: #2fd6b5;
  --amber: #ffb454;
  --rose: #ff6b8b;
  --ok: #37d39a;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .45);
  --font: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--ink); font: 15px/1.55 var(--font);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
main { flex: 1; width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px 56px; position: relative; z-index: 1; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 18px; height: 18px; flex: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 6px; }

/* ---- the sky: soft colour fields on every page, light streaks on the sign-in pages */
.sky { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(900px 520px at 78% 4%, rgba(92, 70, 240, .30), transparent 62%),
    radial-gradient(700px 480px at 8% 18%, rgba(40, 110, 255, .16), transparent 60%),
    radial-gradient(900px 600px at 50% 110%, rgba(110, 60, 220, .16), transparent 60%),
    linear-gradient(180deg, #060818, #070a1c 60%, #05071a); }
.sky i { position: absolute; display: none; border-radius: 50%; mix-blend-mode: screen; filter: blur(15px); opacity: .85; }
.auth-page .sky { background: radial-gradient(1000px 700px at 50% 40%, #131338, #04040e 70%); }
.auth-page .sky i { display: block; }
.sky i:nth-child(1) { width: 130vmax; height: 16vmax; left: -30vmax; top: 6%; transform: rotate(-24deg);
  background: linear-gradient(90deg, transparent 5%, #2e5bff 28%, #9fd0ff 44%, #ff7a3d 56%, #b06bff 72%, transparent 95%); }
.sky i:nth-child(2) { width: 120vmax; height: 11vmax; left: -20vmax; top: 58%; transform: rotate(18deg);
  background: linear-gradient(90deg, transparent 8%, #7a4dff 30%, #ff5c7a 50%, #ffd27a 60%, #3d7bff 78%, transparent 94%); opacity: .7; }
.sky i:nth-child(3) { width: 90vmax; height: 7vmax; right: -30vmax; top: 30%; transform: rotate(-52deg);
  background: linear-gradient(90deg, transparent, #3fe0ff 30%, #fff 50%, #6a5cff 70%, transparent); opacity: .55; filter: blur(14px); }
.sky i:nth-child(4) { width: 80vmax; height: 9vmax; left: -25vmax; bottom: -2%; transform: rotate(-12deg);
  background: linear-gradient(90deg, transparent, #ff6a3d 25%, #ff3d9a 45%, #5a6bff 70%, transparent); opacity: .6; }
.sky i:nth-child(5) { width: 60vmax; height: 60vmax; left: 50%; top: 50%; margin: -30vmax 0 0 -30vmax;
  background: radial-gradient(circle, rgba(6, 6, 20, .92) 30%, transparent 68%); mix-blend-mode: normal; filter: none; opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .auth-page .sky i:nth-child(-n+4) { animation: drift 16s ease-in-out infinite alternate; }
  .auth-page .sky i:nth-child(2) { animation-duration: 21s; animation-direction: alternate-reverse; }
  .auth-page .sky i:nth-child(3) { animation-duration: 26s; }
}
@keyframes drift { from { translate: -2vmax -1vmax; } to { translate: 3vmax 2vmax; } }

.glass { background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  border: 1px solid var(--line-strong); box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .10);
  -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%); }

/* ---- header */
.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 28px; width: 100%;
  padding: 16px max(24px, calc((100% - 1180px) / 2 + 24px)); background: rgba(6, 8, 24, .72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -.01em;
  text-decoration: none; white-space: nowrap; }
.brand i { font-style: normal; color: var(--violet); }
.logo-mark { width: 30px; height: 30px; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 9px; color: var(--muted); text-decoration: none; font-weight: 500; font-size: 14px; }
.nav a:hover { color: var(--ink); background: var(--glass-2); }
.account { display: flex; align-items: center; gap: 10px; }
.whoami { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 14px; }

/* ---- buttons, pills, tiles */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px;
  border-radius: 11px; border: 1px solid transparent; font: 600 14px/1 var(--font); color: #fff; text-decoration: none;
  cursor: pointer; white-space: nowrap; transition: transform .12s, box-shadow .2s, background .2s, border-color .2s; }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 16px; height: 16px; }
.btn-primary { background: linear-gradient(135deg, #6a4bff, #4a2fe0); border-color: rgba(160, 140, 255, .55);
  box-shadow: 0 8px 24px rgba(90, 61, 240, .38), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn-primary:hover { box-shadow: 0 10px 30px rgba(110, 80, 255, .58), inset 0 1px 0 rgba(255, 255, 255, .28); }
.btn-outline { background: rgba(255, 255, 255, .03); border-color: var(--line-strong); }
.btn-outline:hover { border-color: rgba(160, 170, 255, .8); background: rgba(255, 255, 255, .08);
  box-shadow: 0 0 0 4px rgba(120, 130, 255, .14); }
.btn-ghost { background: transparent; color: var(--muted); border-color: var(--line); }
.btn-ghost:hover { color: var(--ink); border-color: var(--line-strong); }
.btn-sm { min-height: 34px; padding: 0 13px; font-size: 13px; border-radius: 9px; }
.btn-wide { width: 100%; min-height: 50px; font-size: 16px; border-radius: 13px; }

.pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px;
  background: rgba(120, 100, 255, .12); border: 1px solid rgba(140, 120, 255, .32); color: #cfc8ff;
  font-size: 12px; font-weight: 600; white-space: nowrap; }
.pill .icon { width: 13px; height: 13px; }
.pill b { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }
.pill-soon, .status-planned { background: rgba(255, 180, 84, .10); border-color: rgba(255, 180, 84, .38); color: var(--amber); }
.status-done { background: rgba(55, 211, 154, .10); border-color: rgba(55, 211, 154, .38); color: var(--ok); }
.status-declined { background: rgba(255, 255, 255, .05); border-color: var(--line); color: var(--muted); }

.tile { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; flex: none;
  color: var(--tone, var(--violet)); border: 1px solid color-mix(in srgb, var(--tone, var(--violet)) 45%, transparent);
  background: color-mix(in srgb, var(--tone, var(--violet)) 14%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 6px 18px color-mix(in srgb, var(--tone, var(--violet)) 18%, transparent); }
.tile .icon { width: 22px; height: 22px; }
.tile.big { width: 58px; height: 58px; border-radius: 16px; }
.tile.big .icon { width: 28px; height: 28px; }
.tone-violet { --tone: #9d83ff; } .tone-blue { --tone: #4ea8ff; } .tone-teal { --tone: #2fd6b5; }
.tone-amber { --tone: #ffb454; } .tone-rose { --tone: #ff6b8b; }

/* ---- hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center;
  padding: 56px 0 36px; }
.hero h1 { margin: 18px 0 14px; font-size: clamp(34px, 4.6vw, 54px); line-height: 1.07; letter-spacing: -.03em; font-weight: 800; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #7f9bff, #a77bff 60%, #d08bff);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { color: var(--muted); font-size: 16.5px; max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.search { display: flex; align-items: center; gap: 10px; max-width: 440px; height: 48px; padding: 0 14px;
  border-radius: 12px; background: var(--glass); border: 1px solid var(--line); color: var(--faint); }
.search:focus-within { border-color: rgba(140, 150, 255, .8); box-shadow: 0 0 0 4px rgba(120, 130, 255, .14); }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--ink); font: inherit; }
.search input::placeholder { color: var(--faint); }
kbd { padding: 3px 7px; border-radius: 6px; border: 1px solid var(--line); background: var(--glass-2);
  color: var(--muted); font: 600 11px var(--font); }
.stats { display: flex; flex-wrap: wrap; gap: 30px; margin: 26px 0 0; padding: 0; list-style: none; }
.stats li { display: grid; }
.stats b { font-size: 22px; letter-spacing: -.02em; }
.stats span { color: var(--muted); font-size: 12.5px; }

.hero-art { position: relative; min-height: 380px; display: grid; place-items: center; }
.orbit { position: absolute; width: 118%; aspect-ratio: 2.1; border-radius: 50%; border: 1px solid rgba(130, 120, 255, .28);
  transform: rotate(-16deg); box-shadow: 0 0 60px rgba(90, 70, 240, .25) inset; }
.panel { position: relative; width: min(100%, 400px); padding: 26px; border-radius: var(--radius-lg);
  transform: perspective(1100px) rotateY(-13deg) rotateX(6deg);
  box-shadow: var(--shadow), 0 0 0 1px rgba(120, 110, 255, .25), 26px 30px 90px rgba(70, 60, 220, .38); }
.panel-kicker { display: block; color: var(--muted); font-size: 13px; }
.panel strong { display: block; margin: 2px 0 20px; font-size: 21px; letter-spacing: -.01em; }
.panel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.panel-grid .tile { width: 100%; height: auto; aspect-ratio: 1; border-radius: 15px; }
.panel-grid .tile .icon { width: 30px; height: 30px; }
.float { position: absolute; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 17px; color: #b9c6ff; }
.float .icon { width: 27px; height: 27px; }
.float-a { left: 2%; top: 24%; }
.float-b { right: 0; bottom: 16%; width: 76px; height: 76px; color: #8fd0ff; border-color: rgba(80, 170, 255, .6);
  box-shadow: 0 0 40px rgba(60, 150, 255, .35); }

/* ---- sections and cards */
.block { padding: 30px 0 8px; scroll-margin-top: 80px; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
h2 { font-size: 19px; letter-spacing: -.01em; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 16px; }
.card { background: linear-gradient(170deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.tool { display: flex; flex-direction: column; gap: 12px; transition: transform .16s, border-color .2s, box-shadow .2s; }
.tool:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--tone) 55%, transparent);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .4), 0 0 0 1px color-mix(in srgb, var(--tone) 22%, transparent); }
.tool-head { display: flex; align-items: center; gap: 13px; }
.tool h3 { font-size: 16px; letter-spacing: -.01em; }
.tool p { color: var(--muted); font-size: 13.5px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tags li { padding: 2px 8px; border-radius: 6px; background: var(--glass-2); color: var(--muted); font-size: 11.5px; }
.tool-foot { margin-top: auto; padding-top: 4px; }
.is-soon { opacity: .78; }
.empty { color: var(--muted); padding: 22px 0; }

.band { display: flex; align-items: center; gap: 22px; margin-top: 30px; padding: 24px 26px; border-radius: var(--radius-lg);
  scroll-margin-top: 90px; }
.band > div { flex: 1; }
.band p { color: var(--muted); margin-top: 4px; max-width: 70ch; }
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; margin-top: 30px;
  padding: 22px 0 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.trust div { display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; align-items: start; }
.trust .icon { grid-row: span 2; width: 22px; height: 22px; color: var(--violet); margin-top: 2px; }
.trust b { font-size: 14px; }
.trust span { color: var(--muted); font-size: 12.5px; }
.foot { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  width: 100%; max-width: 1180px; margin: 0 auto; padding: 20px 24px 28px; color: var(--faint); font-size: 12.5px; }

/* ---- sign-in card (frosted glass over the light streaks) */
.auth-page main { display: grid; place-items: center; padding: 32px 16px; }
.auth { width: min(100%, 440px); padding: 44px 44px 36px; border-radius: 26px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04));
  -webkit-backdrop-filter: blur(34px) saturate(150%); backdrop-filter: blur(34px) saturate(150%); }
.auth .brand { font-size: 15px; color: var(--muted); margin-bottom: 30px; }
.auth .logo-mark { width: 26px; height: 26px; }
.auth h1 { font-size: 46px; line-height: 1; letter-spacing: -.03em; font-weight: 700; }
.auth h1.small { font-size: 28px; line-height: 1.15; }
.auth .sub { margin: 8px 0 30px; font-weight: 600; color: #e6e8ff; }
.auth form { display: grid; gap: 14px; }
.field { position: relative; display: block; }
.field input { width: 100%; height: 52px; padding: 0 52px 0 20px; border-radius: 13px; color: var(--ink); font: inherit;
  font-size: 15px; background: rgba(8, 10, 30, .28); border: 1px solid rgba(255, 255, 255, .42); outline: 0;
  transition: border-color .2s, box-shadow .2s, background .2s; }
.field input::placeholder { color: rgba(225, 228, 255, .55); }
.field input:focus { border-color: #a9b6ff; background: rgba(8, 10, 30, .45); box-shadow: 0 0 0 4px rgba(130, 150, 255, .22); }
.field input:-webkit-autofill { -webkit-text-fill-color: var(--ink); transition: background-color 9999s; }
.field-ico, .field-btn { position: absolute; right: 8px; top: 8px; width: 36px; height: 36px; display: grid; place-items: center;
  color: #fff; background: none; border: 0; border-radius: 9px; }
.field-btn { cursor: pointer; }
.field-btn:hover, .field-btn[aria-pressed="true"] { background: rgba(255, 255, 255, .12); }
.field .icon { width: 22px; height: 22px; }
.auth .btn-wide { margin-top: 26px; border-color: rgba(255, 255, 255, .5); }
.auth a.btn-wide { margin-top: 6px; }
.auth-foot { margin-top: 16px; font-size: 13.5px; font-weight: 600; color: #e6e8ff; }
.auth-foot a { color: #c9c4ff; }

.alert { padding: 12px 14px; border-radius: 11px; font-size: 13.5px; margin-bottom: 14px; }
.alert-error { background: rgba(255, 107, 139, .12); border: 1px solid rgba(255, 107, 139, .45); color: #ffc2cf; }
.alert-ok { background: rgba(55, 211, 154, .09); border: 1px solid rgba(55, 211, 154, .4); margin-bottom: 20px; }
.alert-ok p { color: var(--muted); margin: 2px 0 10px; }
.copy { display: flex; gap: 8px; }
.copy input { flex: 1; min-width: 0; }

/* ---- inner pages: suggestions and admin */
.page { padding-top: 40px; }
.page > h1 { font-size: 30px; letter-spacing: -.02em; margin-bottom: 6px; }
.page > .lede { margin-bottom: 26px; }
.split { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 22px; align-items: start; }
.form { display: grid; gap: 14px; }
.form.row { grid-template-columns: 1fr 180px auto; align-items: end; margin: 20px 0; }
.form.row h2, .form.row .hint { grid-column: 1 / -1; }
.form label, .form legend { display: grid; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 600; }
input[type=email], input[readonly], select, textarea { width: 100%; min-height: 42px; padding: 9px 12px; border-radius: 10px;
  background: rgba(8, 10, 30, .5); border: 1px solid var(--line-strong); color: var(--ink); font: inherit; outline: 0; }
textarea { resize: vertical; }
select option { background: #10142e; }
input:focus, select:focus, textarea:focus { border-color: #a9b6ff; box-shadow: 0 0 0 4px rgba(130, 150, 255, .18); }
fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
fieldset legend { margin-bottom: 6px; padding: 0; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: inline-block; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-strong);
  color: var(--muted); font-size: 13px; font-weight: 600; cursor: pointer; }
.choice input:checked + span { color: #fff; border-color: #9d83ff; background: rgba(125, 100, 255, .22); }
.choice input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.hint { color: var(--faint); font-size: 12.5px; }
.notes { display: grid; gap: 12px; }
.note header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; }
.note header b { margin-right: auto; }
.note p { white-space: pre-wrap; overflow-wrap: anywhere; }
.note footer { margin-top: 10px; color: var(--faint); font-size: 12.5px; }
.inline { display: inline-flex; gap: 6px; align-items: center; }
.inline select { min-height: 34px; padding: 4px 8px; width: auto; }
.table { margin-top: 20px; overflow-x: auto; }
.table h2 { margin-bottom: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th { text-align: left; color: var(--faint); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
th, td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
td small { display: block; color: var(--faint); }
.acts { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 34px; }
  .hero-art { min-height: 300px; order: -1; }
  .orbit { width: 100%; }
  .split, .form.row { grid-template-columns: 1fr; }
  .band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  main { padding: 0 16px 40px; }
  .top { gap: 10px; padding: 12px 16px; }
  .nav { display: none; }
  .account { margin-left: auto; }
  .whoami { display: none; }
  .hero-art { display: none; }
  .auth { padding: 32px 24px 28px; }
  .auth h1 { font-size: 38px; }
  kbd { display: none; }
}
