.brief-page {
  --brief-violet: #8b5cff;
  --brief-violet-soft: #bca5ff;
  --brief-pink: #ff5ca5;
  --brief-orange: #ff9548;
  --brief-cyan: #5ccfff;
  --brief-green: #53dfa9;
  --brief-paper: #f1efeb;
  --brief-ink: #101018;
  overflow-x: clip;
  background: #070711;
  color: #f5f2fb;
}

.brief-page .site-header {
  background: rgba(6, 6, 14, .74);
}

.brief-hero {
  position: relative;
  min-height: 900px;
  padding: 150px 0 105px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background:
    linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px),
    radial-gradient(circle at 72% 38%, rgba(112, 65, 231, .16), transparent 34%),
    #070711;
  background-size: 52px 52px, 52px 52px, auto, auto;
}

.brief-hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .4;
  pointer-events: none;
}

.brief-hero__glow,
.brief-workspace__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
}

.brief-hero__glow--violet {
  top: 40px;
  right: -250px;
  width: 720px;
  height: 720px;
  background: rgba(104, 55, 230, .18);
}

.brief-hero__glow--orange {
  bottom: -250px;
  left: 22%;
  width: 580px;
  height: 480px;
  background: rgba(255, 119, 46, .08);
}

.brief-hero__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(570px, 1.1fr);
  align-items: center;
  gap: clamp(54px, 7vw, 118px);
}

.brief-hero .breadcrumbs {
  margin-bottom: 36px;
}

.brief-hero .breadcrumbs b {
  color: var(--brief-violet-soft);
}

.brief-hero .eyebrow {
  margin-bottom: 24px;
}

.brief-hero h1 {
  max-width: 810px;
  margin-bottom: 27px;
  font-size: clamp(52px, 5.3vw, 84px);
  line-height: .98;
  letter-spacing: -.06em;
}

.brief-hero h1 em {
  color: var(--brief-violet-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.brief-hero__copy > p {
  max-width: 720px;
  color: #b2acbb;
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.72;
}

.brief-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.brief-hero__notice {
  display: flex;
  max-width: 760px;
  align-items: flex-start;
  gap: 15px;
  margin-top: 40px;
  padding: 19px;
  border: 1px solid rgba(255, 149, 72, .23);
  background: rgba(255, 149, 72, .045);
}

.brief-hero__notice > i {
  display: grid;
  width: 28px;
  height: 28px;
  flex: none;
  place-items: center;
  border: 1px solid rgba(255, 149, 72, .35);
  border-radius: 50%;
  color: var(--brief-orange);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.brief-hero__notice p {
  margin: 0;
  color: #99919f;
  font-size: 11px;
  line-height: 1.65;
}

.brief-hero__notice b {
  color: #ddd5df;
}

.brief-machine {
  overflow: hidden;
  border: 1px solid rgba(158, 118, 255, .24);
  border-radius: 24px;
  background: rgba(9, 8, 20, .83);
  box-shadow: 0 55px 130px rgba(0, 0, 0, .48), inset 0 0 110px rgba(114, 67, 244, .035);
  backdrop-filter: blur(18px);
}

.brief-machine__head {
  display: flex;
  min-height: 49px;
  align-items: center;
  padding: 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #827c8c;
  font: 750 8px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .12em;
}

.brief-machine__head span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.brief-machine__head i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brief-green);
  box-shadow: 0 0 14px var(--brief-green);
  animation: brief-pulse 1.8s ease-in-out infinite;
}

.brief-machine__head b {
  margin-left: auto;
  color: #9c80e8;
  font-size: 8px;
}

@keyframes brief-pulse {
  50% { opacity: .35; transform: scale(.7); }
}

.brief-machine__screen {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 49%, rgba(130, 77, 255, .16), transparent 29%),
    linear-gradient(rgba(255, 255, 255, .024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .024) 1px, transparent 1px);
  background-size: auto, 35px 35px, 35px 35px;
}

.machine-core {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  display: grid;
  width: 140px;
  height: 140px;
  place-content: center;
  border: 1px solid rgba(190, 162, 255, .58);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, rgba(185, 145, 255, .26), rgba(25, 12, 57, .95) 59%);
  box-shadow: 0 0 0 21px rgba(132, 77, 255, .035), 0 0 80px rgba(132, 77, 255, .27);
  text-align: center;
  transform: translate(-50%, -50%);
}

.machine-core span,
.machine-core b {
  display: block;
  font: 790 24px/.9 "Ubuntu", sans-serif;
  letter-spacing: -.05em;
}

.machine-core b {
  color: #a982ff;
  font-size: 34px;
}

.machine-core i {
  width: 31px;
  height: 2px;
  margin: 11px auto 0;
  overflow: hidden;
  background: rgba(255, 255, 255, .13);
}

.machine-core i::after {
  display: block;
  width: 45%;
  height: 100%;
  background: var(--brief-green);
  box-shadow: 0 0 10px var(--brief-green);
  content: "";
  animation: machine-scan 2.2s ease-in-out infinite alternate;
}

@keyframes machine-scan {
  to { transform: translateX(125%); }
}

.machine-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(165, 126, 255, .16);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.machine-ring--one {
  width: 270px;
  height: 270px;
  animation: machine-orbit 23s linear infinite;
}

.machine-ring--two {
  width: 430px;
  height: 430px;
  border-style: dashed;
  animation: machine-orbit 35s linear infinite reverse;
}

@keyframes machine-orbit {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.machine-packet {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px 7px 7px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  background: rgba(9, 8, 20, .92);
  color: #a59fae;
  font: 740 8px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .08em;
}

.machine-packet i {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 50%;
  background: rgba(139, 92, 255, .16);
  color: #bca4ff;
  font-style: normal;
}

.machine-packet--one { top: 13%; left: 9%; }
.machine-packet--two { top: 15%; right: 8%; }
.machine-packet--three { right: 7%; bottom: 12%; }
.machine-packet--four { bottom: 11%; left: 9%; }

.machine-signal {
  position: absolute;
  right: 25px;
  bottom: 25px;
  left: 25px;
  display: flex;
  height: 35px;
  align-items: end;
  gap: 5px;
  opacity: .5;
}

.machine-signal i {
  width: 100%;
  height: 20%;
  background: linear-gradient(to top, #7d51e5, #ff5ca5);
  animation: signal-jump 2s ease-in-out infinite alternate;
}

.machine-signal i:nth-child(2n) { height: 48%; animation-delay: -.3s; }
.machine-signal i:nth-child(3n) { height: 75%; animation-delay: -.8s; }
.machine-signal i:nth-child(4n) { height: 34%; animation-delay: -1.1s; }

@keyframes signal-jump {
  to { height: 88%; opacity: .4; }
}

.brief-machine__ledger {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(100deg, rgba(20, 13, 40, .96), rgba(8, 8, 18, .98));
}

.brief-machine__ledger div {
  min-width: 0;
  padding: 21px;
}

.brief-machine__ledger div + div {
  border-left: 1px solid rgba(255, 255, 255, .08);
}

.brief-machine__ledger span,
.brief-machine__ledger b {
  display: block;
}

.brief-machine__ledger span {
  color: #77717f;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.brief-machine__ledger b {
  margin-top: 6px;
  color: #ded8e7;
  font-size: 11px;
}

.brief-rules {
  padding: clamp(90px, 8vw, 128px) 0;
  background: var(--brief-paper);
  color: var(--brief-ink);
}

.brief-rules__layout {
  display: grid;
  grid-template-columns: minmax(270px, .52fr) 1.48fr;
  gap: clamp(50px, 7vw, 110px);
}

.brief-rules__title h2 {
  max-width: 450px;
  margin-bottom: 0;
  font-size: clamp(43px, 4.5vw, 66px);
  line-height: 1.02;
}

.brief-rules .kicker {
  color: #7548de;
}

.brief-rules__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(16, 16, 24, .14);
  border-left: 1px solid rgba(16, 16, 24, .14);
}

.brief-rules__grid article {
  min-height: 250px;
  padding: 27px;
  border-right: 1px solid rgba(16, 16, 24, .14);
  border-bottom: 1px solid rgba(16, 16, 24, .14);
}

.brief-rules__grid article > span {
  color: #7c4de2;
  font: 750 9px/1 "SFMono-Regular", Consolas, monospace;
}

.brief-rules__grid h3 {
  margin: 60px 0 11px;
  font-size: 25px;
}

.brief-rules__grid p {
  margin: 0;
  color: #5b5963;
  font-size: 13px;
  line-height: 1.68;
}

.brief-workspace {
  position: relative;
  padding: clamp(90px, 7vw, 120px) 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .017) 1px, transparent 1px),
    #070711;
  background-size: 62px 62px, auto;
}

.brief-workspace__glow {
  top: 12%;
  right: -450px;
  width: 900px;
  height: 900px;
  background: rgba(117, 66, 239, .11);
}

.brief-workspace__head {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(280px, .45fr);
  align-items: end;
  gap: 50px;
  margin-bottom: 49px;
}

.brief-workspace__head h2 {
  margin: 0;
  font-size: clamp(41px, 4.5vw, 65px);
}

.brief-progress > div {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  color: #7f7988;
  font: 750 8px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .1em;
}

.brief-progress b {
  margin-left: auto;
  color: #b79cf8;
}

.brief-progress progress {
  width: 100%;
  height: 5px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  appearance: none;
}

.brief-progress progress::-webkit-progress-bar {
  border-radius: inherit;
  background: rgba(255, 255, 255, .08);
}

.brief-progress progress::-webkit-progress-value {
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brief-violet), var(--brief-pink), var(--brief-orange));
}

.brief-progress progress::-moz-progress-bar {
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brief-violet), var(--brief-pink), var(--brief-orange));
}

.brief-quiz {
  position: relative;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 310px;
  align-items: start;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 22px;
  background: rgba(10, 9, 19, .86);
  box-shadow: 0 55px 140px rgba(0, 0, 0, .34);
}

.brief-rail {
  position: sticky;
  top: 96px;
  min-height: 760px;
  padding: 21px 15px;
  border-right: 1px solid rgba(255, 255, 255, .09);
}

.brief-rail ol {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.brief-rail button {
  display: grid;
  width: 100%;
  grid-template-columns: 27px 1fr 7px;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #625d6a;
  text-align: left;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.brief-rail button:disabled {
  cursor: not-allowed;
}

.brief-rail li.is-current button {
  background: rgba(139, 92, 255, .13);
  color: #d8caff;
}

.brief-rail li.is-complete button {
  color: #97909e;
}

.brief-rail button span {
  font: 750 8px/1 "SFMono-Regular", Consolas, monospace;
}

.brief-rail button b {
  font-size: 10px;
}

.brief-rail button i {
  width: 6px;
  height: 6px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.brief-rail li.is-current button i {
  border-color: var(--brief-violet-soft);
  background: var(--brief-violet);
  box-shadow: 0 0 10px var(--brief-violet);
}

.brief-rail li.is-complete button i {
  border-color: var(--brief-green);
  background: var(--brief-green);
}

.brief-rail__help {
  margin: 32px 7px 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.brief-rail__help span {
  color: var(--brief-green);
  font: 750 7px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .12em;
}

.brief-rail__help p {
  color: #5f5967;
  font-size: 9px;
  line-height: 1.55;
}

.brief-stage {
  min-width: 0;
  min-height: 760px;
  padding: 38px 38px 24px;
}

.quiz-step {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  animation: quiz-step-in .35s ease both;
}

.quiz-step[hidden] {
  display: none;
}

@keyframes quiz-step-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.quiz-step legend {
  width: 100%;
  margin: 0;
  padding: 0;
}

.quiz-step legend > span {
  display: block;
  margin-bottom: 11px;
  color: #9b76ef;
  font: 750 8px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .13em;
}

.quiz-step legend > b {
  display: block;
  font-size: clamp(31px, 3.1vw, 46px);
  line-height: 1.04;
  letter-spacing: -.04em;
}

.quiz-step__lead {
  max-width: 800px;
  margin: 17px 0 31px;
  color: #8f8998;
  font-size: 13px;
  line-height: 1.65;
}

.choice-grid {
  display: grid;
  gap: 10px;
}

.choice-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-card,
.service-choice,
.budget-grid label,
.dynamic-choice {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.choice-card input,
.service-choice input,
.budget-grid input,
.dynamic-choice input,
.related-services input,
.final-confirm input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-card > span {
  position: relative;
  display: grid;
  min-height: 130px;
  grid-template-columns: 38px 1fr 24px;
  align-content: center;
  gap: 5px 13px;
  padding: 19px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  background: rgba(255, 255, 255, .018);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.choice-card > span > i {
  grid-row: 1 / 3;
  color: #7857c1;
  font: 750 8px/1 "SFMono-Regular", Consolas, monospace;
  font-style: normal;
}

.choice-card > span > b {
  font-size: 15px;
}

.choice-card > span > small {
  color: #706a77;
  font-size: 10px;
  line-height: 1.5;
}

.choice-card > span > em {
  grid-column: 3;
  grid-row: 1 / 3;
  align-self: center;
  color: #534d59;
  font-size: 13px;
  font-style: normal;
}

.choice-card:hover > span,
.choice-card input:focus-visible + span,
.choice-card input:checked + span {
  border-color: rgba(155, 115, 255, .62);
  background: rgba(128, 75, 255, .1);
  transform: translateY(-2px);
}

.choice-card input:checked + span::after,
.service-choice input:checked + span::after,
.budget-grid input:checked + span::after,
.dynamic-choice input:checked + span::after {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  background: var(--brief-green);
  color: #06130e;
  content: "✓";
  font-size: 9px;
  font-weight: 900;
}

.service-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.service-choice > span {
  position: relative;
  display: grid;
  min-height: 92px;
  grid-template-columns: 34px 1fr;
  align-content: center;
  gap: 5px 12px;
  padding: 15px 38px 15px 15px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 10px;
  background: rgba(255, 255, 255, .015);
  transition: border-color .2s ease, background .2s ease;
}

.service-choice i {
  grid-row: 1 / 3;
  color: #7553bd;
  font: 750 8px/1 "SFMono-Regular", Consolas, monospace;
  font-style: normal;
}

.service-choice b {
  font-size: 13px;
}

.service-choice small {
  color: #6e6875;
  font-size: 9px;
  line-height: 1.4;
}

.service-choice:hover > span,
.service-choice input:focus-visible + span,
.service-choice input:checked + span {
  border-color: rgba(155, 115, 255, .6);
  background: rgba(128, 75, 255, .09);
}

.dynamic-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.dynamic-choice > span {
  position: relative;
  display: block;
  min-height: 105px;
  padding: 20px 45px 20px 20px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 11px;
  background: rgba(255, 255, 255, .016);
  transition: border-color .2s ease, background .2s ease;
}

.dynamic-choice b,
.dynamic-choice small {
  display: block;
}

.dynamic-choice b {
  font-size: 14px;
}

.dynamic-choice small {
  margin-top: 8px;
  color: #6f6977;
  font-size: 10px;
  line-height: 1.48;
}

.dynamic-choice:hover > span,
.dynamic-choice input:focus-visible + span,
.dynamic-choice input:checked + span {
  border-color: rgba(155, 115, 255, .6);
  background: rgba(128, 75, 255, .09);
}

.related-services {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 11px;
  background: rgba(255, 255, 255, .015);
}

.related-services > span {
  display: block;
  margin-bottom: 12px;
  color: #8f8997;
  font-size: 10px;
  font-weight: 720;
}

.related-services > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.related-services label {
  position: relative;
  cursor: pointer;
}

.related-services label span {
  display: block;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 999px;
  color: #77717e;
  font-size: 9px;
  font-weight: 740;
}

.related-services input:checked + span {
  border-color: rgba(83, 223, 169, .45);
  background: rgba(83, 223, 169, .07);
  color: #a8e8cf;
}

.quiz-textarea {
  display: block;
  margin-top: 24px;
}

.quiz-textarea > span,
.brief-input-row label > span,
.identity-grid label > span {
  display: block;
  margin-bottom: 8px;
  color: #a8a1af;
  font-size: 10px;
  font-weight: 700;
}

.quiz-textarea textarea,
.brief-input-row input,
.brief-input-row select,
.identity-grid input,
.identity-grid select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 9px;
  outline: 0;
  background: rgba(3, 3, 9, .6);
  color: #f5f2fa;
  font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.quiz-textarea textarea {
  min-height: 115px;
  padding: 14px;
  resize: vertical;
}

.quiz-textarea textarea:focus,
.brief-input-row input:focus,
.brief-input-row select:focus,
.identity-grid input:focus,
.identity-grid select:focus {
  border-color: rgba(155, 115, 255, .7);
  box-shadow: 0 0 0 4px rgba(139, 92, 255, .08);
}

.quiz-textarea textarea::placeholder,
.brief-input-row input::placeholder,
.identity-grid input::placeholder {
  color: #57515f;
}

.brief-input-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin-top: 22px;
}

.brief-input-row--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.brief-input-row input,
.brief-input-row select,
.identity-grid input,
.identity-grid select {
  min-height: 49px;
  padding: 0 13px;
}

.brief-input-row select,
.identity-grid select {
  color-scheme: dark;
}

.brief-input-row small,
.identity-grid small {
  display: block;
  min-height: 14px;
  padding-top: 4px;
  color: #ff73aa;
  font-size: 8px;
}

.brief-input-row label.is-invalid input,
.brief-input-row label.is-invalid select,
.identity-grid label.is-invalid input,
.identity-grid label.is-invalid select {
  border-color: rgba(255, 92, 165, .68);
}

.budget-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.budget-grid label > span {
  position: relative;
  display: block;
  min-height: 88px;
  padding: 18px 42px 18px 18px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  transition: border-color .2s ease, background .2s ease;
}

.budget-grid b,
.budget-grid small {
  display: block;
}

.budget-grid b {
  font-size: 14px;
}

.budget-grid small {
  margin-top: 7px;
  color: #6c6673;
  font-size: 9px;
}

.budget-grid label:hover > span,
.budget-grid input:focus-visible + span,
.budget-grid input:checked + span {
  border-color: rgba(155, 115, 255, .6);
  background: rgba(128, 75, 255, .09);
}

.quiz-step em {
  color: var(--brief-pink);
  font-style: normal;
}

.identity-gate {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px;
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 12px;
  background: rgba(255, 255, 255, .018);
}

.identity-gate__meter > div {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  color: #77717f;
  font: 750 8px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .1em;
}

.identity-gate__meter b {
  margin-left: auto;
  color: #ff79ad;
}

.identity-gate meter {
  display: block;
  width: 100%;
  height: 7px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  appearance: none;
}

.identity-gate meter::-webkit-meter-bar {
  border: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, .08);
}

.identity-gate meter::-webkit-meter-optimum-value {
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brief-pink), var(--brief-orange), var(--brief-green));
}

.identity-gate meter::-moz-meter-bar {
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brief-pink), var(--brief-orange), var(--brief-green));
}

.identity-gate__meter p {
  margin: 8px 0 0;
  color: #66606d;
  font-size: 9px;
}

.identity-gate__status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8b6877;
  font-size: 9px;
  font-weight: 720;
}

.identity-gate__status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brief-pink);
  box-shadow: 0 0 12px rgba(255, 92, 165, .5);
}

.identity-gate.is-verified {
  border-color: rgba(83, 223, 169, .27);
}

.identity-gate.is-verified .identity-gate__status {
  color: #9ddbc3;
}

.identity-gate.is-verified .identity-gate__status i {
  background: var(--brief-green);
  box-shadow: 0 0 12px rgba(83, 223, 169, .5);
}

.identity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.identity-consents {
  display: grid;
  gap: 11px;
  margin-top: 20px;
}

.identity-consents .legal-check > span:last-child {
  color: #898390;
  font-size: 10px;
  line-height: 1.55;
}

.identity-consents a {
  color: #bba4fa;
  text-decoration: underline;
}

.identity-privacy {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
  padding: 15px;
  border: 1px solid rgba(83, 223, 169, .17);
  background: rgba(83, 223, 169, .035);
}

.identity-privacy i {
  color: var(--brief-green);
  font-style: normal;
}

.identity-privacy p {
  margin: 0;
  color: #7a8983;
  font-size: 9px;
  line-height: 1.55;
}

.identity-privacy b {
  color: #a9c6ba;
}

.brief-review {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 22px;
}

.brief-review article {
  min-height: 102px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 10px;
  background: rgba(255, 255, 255, .016);
}

.brief-review span,
.brief-review b {
  display: block;
}

.brief-review span {
  color: #6e6875;
  font-size: 8px;
  font-weight: 740;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.brief-review b {
  margin-top: 12px;
  color: #ddd7e4;
  font-size: 12px;
  line-height: 1.5;
}

.final-confirm {
  position: relative;
  display: block;
  margin-top: 18px;
  cursor: pointer;
}

.final-confirm > span {
  display: flex;
  min-height: 57px;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 9px;
  color: #8b8492;
  transition: border-color .2s ease, background .2s ease;
}

.final-confirm i {
  display: grid;
  width: 25px;
  height: 25px;
  flex: none;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
}

.final-confirm input:checked + span {
  border-color: rgba(83, 223, 169, .4);
  background: rgba(83, 223, 169, .055);
  color: #b7d8cb;
}

.final-confirm input:checked + span i {
  border-color: var(--brief-green);
  background: var(--brief-green);
}

.final-confirm input:checked + span i::after {
  color: #06140e;
  content: "✓";
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.final-confirm b {
  font-size: 10px;
  line-height: 1.5;
}

.quiz-error {
  min-height: 19px;
  padding-top: 9px;
  color: #ff73aa;
  font-size: 10px;
  font-weight: 700;
}

.brief-navigation {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  margin-top: 26px;
  padding-top: 21px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.brief-navigation__back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #77717e;
  font-size: 10px;
  font-weight: 740;
  cursor: pointer;
}

.brief-navigation__back:disabled {
  opacity: .28;
  cursor: not-allowed;
}

.brief-navigation > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #5d5764;
  font-size: 8px;
}

.brief-navigation > div i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #574d64;
}

.brief-navigation > div b {
  color: #7b7482;
  font-size: 8px;
}

.brief-navigation .button {
  min-height: 45px;
  padding: 0 18px;
  font-size: 9px;
}

.brief-dossier {
  position: sticky;
  top: 96px;
  min-height: 760px;
  padding: 21px 18px;
  border-left: 1px solid rgba(255, 255, 255, .09);
  background: linear-gradient(180deg, rgba(20, 14, 38, .55), rgba(7, 7, 14, .72));
}

.brief-dossier__head {
  display: flex;
  align-items: center;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #76707d;
  font: 750 7px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .1em;
}

.brief-dossier__head b {
  margin-left: auto;
  color: #a181ee;
  font-size: 7px;
}

.brief-dossier canvas {
  display: block;
  width: 100%;
  height: auto;
  margin: 17px 0;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  background: #08070f;
}

.brief-dossier dl {
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.brief-dossier dl div {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.brief-dossier dt {
  color: #5e5865;
  font-size: 8px;
}

.brief-dossier dd {
  margin: 0;
  overflow: hidden;
  color: #a69fac;
  font-size: 9px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brief-dossier__score {
  margin-top: 19px;
}

.brief-dossier__score > span,
.brief-dossier__score > b {
  color: #6b6572;
  font-size: 8px;
}

.brief-dossier__score > b {
  float: right;
  color: #aa8cf2;
}

.brief-dossier__score > i {
  display: block;
  height: 4px;
  margin-top: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
}

.brief-dossier__score > i em {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--brief-violet), var(--brief-pink));
  transition: width .25s ease;
}

.brief-dossier > p {
  margin-top: 17px;
  color: #57515e;
  font-size: 8px;
  line-height: 1.55;
}

.brief-result {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(500px, 1.2fr);
  gap: clamp(45px, 7vw, 100px);
  padding: clamp(34px, 5vw, 70px);
  border-top: 1px solid rgba(83, 223, 169, .2);
  background:
    radial-gradient(circle at 82% 48%, rgba(83, 223, 169, .09), transparent 30%),
    linear-gradient(120deg, rgba(15, 35, 27, .94), rgba(9, 8, 19, .98) 50%);
}

.brief-result[hidden] {
  display: none;
}

.brief-result__copy > span {
  color: var(--brief-green);
  font: 750 8px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .13em;
}

.brief-result__copy h2 {
  margin: 16px 0;
  font-size: clamp(39px, 4.2vw, 61px);
  line-height: 1.02;
}

.brief-result__copy > p {
  color: #91a099;
  font-size: 14px;
  line-height: 1.7;
}

.brief-result__code {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 29px 0;
  padding: 18px;
  border: 1px solid rgba(83, 223, 169, .22);
  border-radius: 10px;
  background: rgba(83, 223, 169, .045);
}

.brief-result__code small {
  width: 100%;
  color: #768b82;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.brief-result__code strong {
  color: #c8f1e1;
  font: 760 18px/1 "SFMono-Regular", Consolas, monospace;
}

.brief-result__code button {
  margin-left: auto;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(83, 223, 169, .3);
  background: none;
  color: #8fd8bd;
  font-size: 9px;
  cursor: pointer;
}

.brief-result__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.brief-result__actions .button {
  min-height: 45px;
  padding: 0 17px;
  font-size: 9px;
}

.brief-result__status {
  min-height: 18px;
  margin-top: 10px;
  color: #8fd8bd;
  font-size: 9px;
}

.brief-id-card {
  align-self: center;
}

.brief-id-card canvas {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 17px;
  background: #070912;
  box-shadow: 0 35px 90px rgba(0, 0, 0, .34);
}

.brief-id-card button {
  display: flex;
  width: 100%;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 9px;
  background: rgba(255, 255, 255, .025);
  color: #8f9d97;
  font-size: 9px;
  font-weight: 720;
  cursor: pointer;
}

.brief-after {
  padding: clamp(90px, 8vw, 130px) 0;
  background: var(--brief-paper);
  color: var(--brief-ink);
}

.brief-after__layout {
  display: grid;
  grid-template-columns: minmax(0, .75fr) 1.25fr;
  gap: clamp(55px, 8vw, 130px);
}

.brief-after__copy h2 {
  font-size: clamp(42px, 4.6vw, 66px);
  line-height: 1.02;
}

.brief-after .kicker {
  color: #7548de;
}

.brief-after__copy p {
  color: #5a5962;
  font-size: 16px;
  line-height: 1.75;
}

.brief-after__steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(16, 16, 24, .14);
  list-style: none;
}

.brief-after__steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 27px 0;
  border-bottom: 1px solid rgba(16, 16, 24, .14);
}

.brief-after__steps li > span {
  color: #7548de;
  font: 750 9px/1.4 "SFMono-Regular", Consolas, monospace;
}

.brief-after__steps b {
  font-size: 22px;
}

.brief-after__steps p {
  margin: 8px 0 0;
  color: #5c5a63;
  font-size: 13px;
  line-height: 1.65;
}

.brief-footer {
  background: #04040a;
}

@media (min-width: 1600px) {
  .brief-page {
    font-size: 17px;
  }

  .brief-hero {
    min-height: 970px;
    padding-top: 175px;
  }

  .brief-hero__layout {
    grid-template-columns: minmax(0, .84fr) minmax(680px, 1.16fr);
  }

  .brief-machine__screen {
    min-height: 590px;
  }

  .brief-quiz {
    grid-template-columns: 210px minmax(0, 1fr) 350px;
  }
}

@media (max-width: 1240px) {
  .brief-quiz {
    grid-template-columns: 165px minmax(0, 1fr) 270px;
  }

  .brief-stage {
    padding: 34px 28px 23px;
  }

  .brief-dossier {
    padding-right: 13px;
    padding-left: 13px;
  }

  .brief-rail {
    padding-right: 9px;
    padding-left: 9px;
  }
}

@media (max-width: 1080px) {
  .brief-hero__layout {
    grid-template-columns: minmax(0, .9fr) minmax(500px, 1.1fr);
    gap: 42px;
  }

  .brief-quiz {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .brief-dossier {
    position: static;
    grid-column: 1 / -1;
    min-height: auto;
    border-top: 1px solid rgba(255, 255, 255, .09);
    border-left: 0;
  }

  .brief-dossier canvas {
    max-width: 420px;
  }

  .brief-dossier dl {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
  }

  .brief-dossier dl div {
    display: block;
    padding: 12px;
    border-right: 1px solid rgba(255, 255, 255, .08);
  }

  .brief-dossier dd {
    margin-top: 5px;
  }
}

@media (max-width: 980px) {
  .brief-hero {
    min-height: auto;
    padding: 122px 0 90px;
  }

  .brief-hero__layout,
  .brief-rules__layout,
  .brief-workspace__head,
  .brief-after__layout {
    grid-template-columns: 1fr;
  }

  .brief-hero__copy,
  .brief-machine {
    max-width: 820px;
  }

  .brief-rules__title h2 {
    max-width: none;
  }

  .brief-workspace__head {
    gap: 22px;
  }

  .brief-progress {
    max-width: 600px;
  }
}

@media (max-width: 760px) {
  .brief-hero {
    padding-top: 108px;
  }

  .brief-hero h1 {
    font-size: clamp(43px, 12vw, 61px);
  }

  .brief-machine__screen {
    min-height: 430px;
  }

  .machine-ring--two {
    width: 340px;
    height: 340px;
  }

  .machine-packet span {
    display: none;
  }

  .machine-packet {
    padding-right: 7px;
  }

  .brief-machine__ledger {
    grid-template-columns: 1fr;
  }

  .brief-machine__ledger div + div {
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-left: 0;
  }

  .brief-rules__grid,
  .choice-grid--two,
  .service-choice-grid,
  .dynamic-choice-grid,
  .budget-grid,
  .brief-review,
  .identity-grid,
  .brief-input-row,
  .brief-input-row--three {
    grid-template-columns: 1fr;
  }

  .brief-quiz {
    grid-template-columns: 1fr;
  }

  .brief-rail {
    position: static;
    min-height: auto;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
  }

  .brief-rail ol {
    display: flex;
    min-width: 700px;
  }

  .brief-rail li {
    flex: 1;
  }

  .brief-rail button {
    grid-template-columns: 23px 1fr;
  }

  .brief-rail button i {
    display: none;
  }

  .brief-rail__help {
    display: none;
  }

  .brief-stage {
    min-height: 0;
    padding: 29px 22px 21px;
  }

  .identity-gate {
    grid-template-columns: 1fr;
  }

  .brief-navigation {
    grid-template-columns: auto 1fr;
  }

  .brief-navigation > div {
    display: none;
  }

  .brief-navigation .button {
    justify-self: end;
  }

  .brief-dossier dl {
    grid-template-columns: repeat(2, 1fr);
  }

  .brief-result {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  .brief-hero__actions .button {
    width: 100%;
    justify-content: center;
  }

  .brief-hero__notice {
    padding: 15px;
  }

  .brief-machine__screen {
    min-height: 390px;
  }

  .machine-ring--one {
    width: 220px;
    height: 220px;
  }

  .machine-ring--two {
    width: 305px;
    height: 305px;
  }

  .machine-core {
    width: 110px;
    height: 110px;
  }

  .machine-core span {
    font-size: 19px;
  }

  .machine-core b {
    font-size: 27px;
  }

  .brief-rules,
  .brief-workspace,
  .brief-after {
    padding: 78px 0;
  }

  .brief-stage {
    padding-right: 16px;
    padding-left: 16px;
  }

  .choice-card > span {
    grid-template-columns: 28px 1fr 18px;
    padding: 15px;
  }

  .identity-gate {
    padding: 14px;
  }

  .brief-navigation {
    gap: 9px;
  }

  .brief-navigation .button {
    padding: 0 13px;
  }

  .brief-dossier dl {
    grid-template-columns: 1fr;
  }

  .brief-result {
    padding: 26px 18px;
  }

  .brief-result__actions .button {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brief-machine__head i,
  .machine-core i::after,
  .machine-ring,
  .machine-signal i {
    animation: none;
  }

  .quiz-step {
    animation: none;
  }
}
