:root {
  color-scheme: dark;
  --violet-ground: #151022;
  --violet-panel: #241a36;
  --violet-field: #1b142b;
  --violet-edge: #65527b;
  --violet-text: #faf2ff;
  --violet-muted: #d3c3e3;
  --violet-accent: #dcb9ff;
  --violet-button: #e5c9ff;
  --ink: var(--violet-text);
  --muted: var(--violet-muted);
  --line: var(--violet-edge);
  --paper: var(--violet-ground);
  --bg: var(--violet-ground);
  --panel: var(--violet-panel);
  --card: var(--violet-panel);
  --tone: var(--violet-accent);
  --accent: var(--violet-accent);
  --sub: var(--violet-muted);
  color: var(--ink);
  background: var(--violet-ground);
}
body, body.employer-profile {
  background: radial-gradient(ellipse 64rem 36rem at 80% 2%, #35204d, transparent 75%), var(--violet-ground);
}
.employer-profile .public-page #profile > .panel,
.employer-profile .public-page #profile > .panel:nth-of-type(even) {
  background: var(--violet-panel);
  border-color: var(--violet-edge);
}
.employer-profile .public-page #profile > .panel:nth-of-type(even) .eyebrow,
.employer-profile .career-metrics dt { color: var(--violet-accent); }
.case-card { background: var(--violet-panel); border-color: var(--violet-edge); }
.case-card .case-cover { background: radial-gradient(ellipse at 45% 60%, #543772, var(--violet-field) 80%); }
.case-card .case-cover, .case-content .case-kicker, .case-details summary { color: var(--violet-accent); }
.case-steps { border-color: var(--violet-edge); }
.case-card .case-mark { background: var(--violet-field); }
.case-start, .primary-action, .private-account .button.accent, .employer-profile .button.accent {
  background: var(--violet-button);
  color: #28153b;
}
.case-start:hover, .primary-action:hover { background: #f3e1ff; }

.resume-room { --pine: var(--violet-accent); --light: #302245; }
.resume-room .block, .resume-room .choice {
  background: var(--violet-panel);
  border-color: var(--violet-edge);
  box-shadow: none;
}
.resume-room .choice, .resume-room .live-paper,
.resume-room textarea, .resume-room #resume-file {
  background: var(--violet-field);
  color: var(--violet-text);
  border-color: var(--violet-edge);
}
.resume-room .live-paper { border-top-color: var(--violet-accent); box-shadow: none; }
.resume-room .lock, .resume-room .download-privacy { border-left-color: var(--violet-accent); }
.resume-room .button, .resume-room .resume-tab[aria-pressed=true] {
  background: var(--violet-button);
  color: #28153b;
}
.resume-room .button:hover { background: #f3e1ff; }
.resume-room .button.secondary { background: #49345f; color: var(--violet-text); }
.resume-room :focus-visible { outline-color: var(--violet-accent); }

.landing {
  --soft: var(--violet-muted);
  --sage: var(--violet-button);
}
.landing .masthead {
  grid-template-columns: minmax(0,1fr);
  justify-items: center;
  gap: .7rem;
  padding-block: clamp(1.8rem, 4vw, 3.4rem) 1rem;
}
.landing .copy { text-align: center; }
.landing h1 {
  font-size: clamp(3.2rem, 7vw, 7.4rem);
  font-weight: 680;
  letter-spacing: -.07em;
  text-wrap: balance;
}
.landing h1 em { color: var(--violet-accent); letter-spacing: -.075em; }
.landing .pitch { font-size: clamp(1.05rem, 2vw, 1.3rem); }
.landing .lead { max-width: 36ch; }
.landing .landing-actions { display: flex; align-items: center; gap: .85rem 1.4rem; flex-wrap: wrap; }
.landing #upload-resume { max-width: 25rem; margin: 1rem auto 0; }
.landing #upload-resume .quiet { margin-block: .45rem; }
.landing #paste-resume {
  padding: .4rem 0;
  border: 0;
  background: transparent;
  color: var(--violet-muted);
  text-decoration: underline;
  text-underline-offset: .2em;
}
.landing #import-status:empty { display: none; }
.landing .privacy { margin-top: .5rem; }
.landing .block .eyebrow, .landing .live-paper,
.landing [data-i="review"], .landing [data-i="tips"], .landing [data-i="formatAdvice"],
.landing .choice > p, .landing #resume-list:not(:has(> :nth-child(2))) { display: none; }
.landing .paper-grid { display: block; }
.landing #resume-text { min-height: 7rem; max-height: 22vh; }
.landing .block { padding: clamp(1rem, 4vw, 2rem); }
.landing .choice { padding: .85rem; }
.landing .story-link { color: var(--violet-accent); text-underline-offset: .24em; }
.landing .mark { background: transparent; color: var(--violet-accent); border: 1px solid var(--violet-edge); }
.landing .seo-languages { background: var(--violet-panel); }
.landing .legacy { background: var(--violet-panel); border-color: var(--violet-edge); }
.landing .cover-art {
  position: relative;
  isolation: isolate;
  width: clamp(11rem, 32vw, 20rem);
  max-width: none;
  min-width: 0;
  aspect-ratio: 1.07;
  overflow: visible;
}
.plate {
  position: absolute;
  inset: 4% 5%;
  overflow: hidden;
  border: 1px solid #ad84c879;
  border-radius: 48% 48% 2px 2px;
  background:
    radial-gradient(ellipse at 58% 43%, #c18cf480, transparent 37%),
    radial-gradient(ellipse at 16% 93%, #6d448b, transparent 68%),
    linear-gradient(148deg, #352448, #20142e 61%, #55326a);
}
.plate:after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg,#eac9ff0d 0 1px,transparent 1px 5px);
  opacity: .44;
}
.plate-disc {
  position: absolute;
  inset: 20% 20% 22%;
  border-radius: 50%;
  overflow: hidden;
  background: #593270;
  box-shadow: 0 1rem 3.5rem #160a24a6, inset 0 0 1.6rem #e7a8ff30;
  animation: plate-drift 9s ease-in-out infinite alternate;
}
.plate-disc::before, .plate-disc::after {
  content: "";
  position: absolute;
  inset: 0;
}
.plate-disc::before {
  background: repeating-linear-gradient(104deg,#5c3678 0%,#8960a8 12%,#c68bdc 24%,#39214c 39%,#5c3678 50%);
  background-size: 200% 100%;
  animation: sphere-turn 7s linear infinite;
}
.plate-disc::after {
  background: radial-gradient(circle at 29% 27%,#f3caffbc,transparent 41%),
    radial-gradient(circle at 31% 26%,transparent 28%,#20132f30 56%,#1b1026df 100%);
  box-shadow: inset 0 0 1.2rem #e7a8ff4d;
}
.plate-orbit {
  position: absolute;
  inset: 31% 0 33%;
  border: 1px solid #f1c9fa9e;
  border-radius: 50%;
  transform: rotate(-26deg);
  animation: plate-orbit 12s ease-in-out infinite alternate;
}
.plate-orbit:nth-of-type(3) {
  inset: 24% 6% 27%;
  border-color: #deb4fa52;
  transform: rotate(27deg);
  animation-direction: alternate-reverse;
  animation-delay: -6s;
}
.plate-orbit:nth-of-type(2):after {
  content: "";
  position: absolute;
  width: .44rem;
  aspect-ratio: 1;
  top: 11%;
  right: 16%;
  border-radius: 50%;
  background: #f9dcff;
  box-shadow: 0 0 1.25rem #f1c4ff;
}
@keyframes plate-drift { to { transform: translateY(-5%) scale(1.035); } }
@keyframes plate-orbit { from { transform: rotate(-30deg); } to { transform: rotate(22deg); } }
@keyframes sphere-turn { to { background-position: 100% 0; } }
@media (max-width: 760px) {
  .landing .masthead { min-height: 0; padding-block: 1.45rem .5rem; }
  .landing h1 { font-size: clamp(2.65rem, 11vw, 5.1rem); }
  .landing .cover-art { width: min(54%, 12rem); }
}
@media (prefers-reduced-motion: reduce) {
  .plate-disc, .plate-disc::before, .plate-orbit { animation: none; }
}
