:root {
  color-scheme: dark;
  --bg: #1b1b1b;
  --panel: #242424;
  --line: #3b3b3b;
  --yellow: #ffd300;
  --muted: #aaa;
  --green: #a8d6a0;
  font-family: Arial, Helvetica, sans-serif;
  color: #f7f7f2;
  background: var(--bg);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 4px;
}
button {
  border: 0;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
p {
  line-height: 1.7;
  color: var(--muted);
}
.shell {
  max-width: 1440px;
  margin: auto;
  padding: 0 54px;
}
.mast {
  height: 108px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 23px;
}
.brand img {
  width: 108px;
  height: 57px;
  object-fit: contain;
}
.brand span {
  border-left: 1px solid #555;
  padding-left: 23px;
  font-size: 15px;
  letter-spacing: 0.2px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 12px;
  color: #bbb;
}
.nav a:hover {
  color: var(--yellow);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 46px;
  padding: 13px 20px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
  background: var(--yellow);
  color: #191919;
}
.button.secondary {
  background: transparent;
  border: 1px solid #505050;
  color: #eee;
}
.button.small {
  min-height: 35px;
  padding: 9px 13px;
  font-size: 11px;
}
.kicker {
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--yellow);
  margin-bottom: 22px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.dot {
  height: 6px;
  width: 6px;
  background: var(--yellow);
  border-radius: 50%;
  display: inline-block;
}
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  padding: 82px 0 75px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(48px, 5.5vw, 78px);
  font-weight: 400;
  letter-spacing: -3.4px;
  line-height: 1.05;
  margin-bottom: 28px;
}
.hero h1 em {
  font-style: normal;
  color: var(--yellow);
}
.hero p {
  max-width: 420px;
  font-size: 14px;
  line-height: 1.9;
}
.actions {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 30px;
}
.quiet {
  font-size: 12px;
  color: #bbb;
}
.hero-preview {
  border: 1px solid #474747;
  border-radius: 12px;
  background: linear-gradient(135deg, #2c2c2c, #222);
  padding: 30px;
  box-shadow: 0 25px 70px #0003;
}
.card-top,
.between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.eyebrow {
  font-size: 9px;
  color: #aaa;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.hero-preview h2 {
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.8px;
  margin: 26px 0 8px;
}
.hero-preview p {
  font-size: 11px;
}
.pill {
  display: inline-block;
  font-size: 10px;
  border-radius: 30px;
  padding: 6px 10px;
  background: #ffd30013;
  color: var(--yellow);
  border: 1px solid #ffd30030;
  white-space: nowrap;
}
.pill.green {
  color: var(--green);
  background: #a8d6a012;
  border-color: #a8d6a033;
}
.pill.gray {
  color: #bbb;
  background: #ffffff08;
  border-color: #ffffff15;
}
.pill.red {
  color: #ffaaa0;
  background: #ffaaa010;
  border-color: #ffaaa033;
}
.mini-step {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 17px 0;
  border-bottom: 1px solid #444;
  font-size: 13px;
}
.mini-step:last-child {
  border-bottom: 0;
}
.mini-step small {
  display: block;
  font-size: 10px;
  color: #999;
  margin-top: 5px;
}
.circle {
  width: 28px;
  height: 28px;
  border: 1px solid #555;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
  color: #aaa;
}
.circle.done {
  border-color: var(--green);
  color: var(--green);
}
.circle.current {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #191919;
}
.active-mark {
  position: relative;
  width: 13px;
  height: 3px;
  border-radius: 2px;
  background: currentColor;
  transform: translateX(-1px);
}
.active-mark::after {
  position: absolute;
  top: -3px;
  right: -1px;
  width: 7px;
  height: 7px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  content: "";
  transform: rotate(45deg);
}
.mini-step .pill {
  margin-left: auto;
}
.principles {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  padding: 35px 0;
}
.principles h3 {
  font-size: 16px;
  font-weight: 400;
  margin: 16px 0 9px;
}
.principles p {
  font-size: 12px;
  margin: 0;
  max-width: 300px;
}
.foot {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding: 25px 0;
  margin-top: 35px;
  font-size: 10px;
  color: #888;
}
.page-heading {
  padding: 42px 0 30px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.page-heading h1 {
  font-size: 38px;
  font-weight: 400;
  letter-spacing: -1.5px;
  margin-bottom: 10px;
}
.page-heading p {
  font-size: 12px;
  margin: 0;
}
.page-heading .kicker {
  margin-bottom: 15px;
}
.banner {
  border: 1px solid #5a5126;
  background: #ffd30009;
  border-radius: 6px;
  padding: 13px 17px;
  margin-top: 24px;
  font-size: 11px;
  color: #c9c4ae;
  display: flex;
  gap: 15px;
  align-items: center;
}
.banner a {
  margin-left: auto;
  color: var(--yellow);
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  margin-bottom: 30px;
}
.stat {
  padding: 24px 28px;
  border-right: 1px solid var(--line);
}
.stat:last-child {
  border: 0;
}
.stat strong {
  display: block;
  font-size: 31px;
  font-weight: 400;
  letter-spacing: -1px;
  margin: 12px 0 8px;
}
.stat small {
  font-size: 10px;
  color: #999;
}
.progress {
  height: 4px;
  background: #444;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 14px;
}
.progress > i {
  display: block;
  height: 100%;
  background: var(--yellow);
}
progress {
  width: 100%;
  height: 5px;
  accent-color: var(--yellow);
  border: 0;
  border-radius: 4px;
  margin-top: 12px;
}
progress::-webkit-progress-bar {
  background: #444;
}
progress::-webkit-progress-value {
  background: var(--yellow);
}
.journey-nav {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin: 36px 0 34px;
  gap: 7px;
}
.phase-tab {
  background: transparent;
  text-align: left;
  color: #aaa;
  padding: 15px 12px;
  border-bottom: 2px solid #444;
  display: flex;
  align-items: center;
  gap: 11px;
}
.phase-tab strong {
  font-weight: 400;
  font-size: 12px;
  display: block;
}
.phase-tab small {
  font-size: 9px;
  display: block;
  margin-top: 6px;
  color: #888;
}
.phase-tab.selected {
  border-color: var(--yellow);
  background: #ffd30006;
  color: #fff;
}
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 26px;
}
.panel {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  padding: 25px;
}
.panel h2 {
  font-size: 22px;
  letter-spacing: -0.6px;
  font-weight: 400;
  margin-bottom: 10px;
}
.panel > p {
  font-size: 12px;
}
.phase-heading {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.step {
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}
.step.attention {
  margin: 10px -14px;
  padding: 18px 14px;
  border: 1px solid var(--yellow);
  border-radius: 6px;
  background: #ffd3000d;
}
.attention-label {
  margin-bottom: 12px;
  color: var(--yellow);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.step:last-child {
  border: 0;
  padding-bottom: 3px;
}
.step-main {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}
.step-copy {
  flex: 1;
}
.step h3 {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  margin: 2px 0 8px;
}
.step p {
  font-size: 11px;
  margin: 7px 0;
}
.step-meta {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 10px;
  color: #aaa;
}
.owner {
  color: var(--yellow);
}
.note {
  border-left: 2px solid #777;
  padding: 5px 12px;
  color: #ccc !important;
  margin: 12px 0 !important;
}
.question-box {
  margin: 15px 0 0 43px;
}
.question-box summary {
  color: var(--yellow);
  cursor: pointer;
  font-size: 10px;
}
.question-history {
  margin: 14px 0 0 43px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.question-history p {
  font-size: 11px;
}
.question-history small,
.document-row small {
  display: block;
  margin-top: 5px;
  color: #999;
}
.side .panel {
  margin-bottom: 20px;
}
.side h3 {
  font-size: 14px;
  font-weight: 400;
}
.side p {
  font-size: 11px;
}
.side .kicker {
  font-size: 9px;
}
.contact-details a {
  display: block;
  margin-top: 9px;
  color: var(--yellow);
  font-size: 11px;
  overflow-wrap: anywhere;
}
.documents form {
  margin: 17px 0;
}
.document-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 11px;
}
.document-row a {
  color: var(--yellow);
  overflow-wrap: anywhere;
}
.next-task {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.6;
}
.next-task small {
  display: block;
  color: #999;
  font-size: 10px;
  margin-top: 5px;
}
.outcome {
  border-left: 2px solid var(--yellow);
  padding-left: 13px;
}
.activity {
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.5;
}
.activity small {
  display: block;
  color: #888;
  font-size: 9px;
  margin-top: 5px;
}
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  padding: 65px 0;
  align-items: start;
}
.auth-copy h1 {
  font-size: 55px;
  letter-spacing: -2px;
  font-weight: 400;
  line-height: 1.1;
}
.auth-copy > p {
  max-width: 400px;
  font-size: 13px;
}
.auth-copy .mini-step {
  max-width: 360px;
}
.form-card {
  background: var(--panel);
  border: 1px solid #444;
  border-radius: 10px;
  padding: 30px;
}
.form-card h2 {
  font-size: 23px;
  font-weight: 400;
  letter-spacing: -0.6px;
}
.form-card > p {
  font-size: 12px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 17px 0;
  font-size: 11px;
  color: #ddd;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #494949;
  background: #1c1c1c;
  color: #eee;
  padding: 13px;
  border-radius: 5px;
  font-size: 13px;
}
.field textarea {
  min-height: 85px;
  resize: vertical;
}
.field small {
  font-size: 10px;
  color: #999;
  line-height: 1.6;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.form-grid .field {
  margin: 0;
}
.form-card .button[type="submit"] {
  width: 100%;
  margin-top: 10px;
}
.error {
  color: #ffaaa0;
  font-size: 12px;
  line-height: 1.6;
  min-height: 0;
}
.error:empty {
  display: none;
}
.notice {
  margin: 18px 0;
  padding: 13px 15px;
  border: 1px solid #ffd30066;
  border-radius: 7px;
  background: #ffd3000d;
  color: #f7f7f2;
  font-size: 11px;
  line-height: 1.6;
}
.code {
  letter-spacing: 10px;
  font-size: 25px !important;
}
.divider {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 20px;
  font-size: 11px;
  color: #aaa;
}
.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 7px;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}
th {
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 400;
  color: #999;
  background: #242424;
  padding: 18px;
}
td {
  padding: 20px 18px;
  border-top: 1px solid var(--line);
}
td small {
  display: block;
  font-size: 10px;
  color: #999;
  margin-top: 7px;
}
.toolbar {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.heading-actions,
.template-actions {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
}
.template-layout {
  display: grid;
  gap: 20px;
}
.template-phase h2 {
  margin: 7px 0 0;
}
.template-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.template-step > div > strong,
.template-step > div > small {
  display: block;
}
.template-step > div > strong {
  font-size: 12px;
  font-weight: 400;
}
.template-step > div > small {
  margin-top: 6px;
  color: #999;
  font-size: 10px;
}
.template-step.disabled {
  opacity: 0.6;
}
.template-step .editor {
  grid-column: 1 / -1;
  margin-top: 0;
}
.check {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 17px 0;
  color: #ddd;
  font-size: 11px;
}
.danger {
  color: #ffaaa0;
}
.toolbar input {
  background: #252525;
  border: 1px solid #444;
  color: #eee;
  border-radius: 5px;
  padding: 12px;
  width: min(360px, 100%);
  font-size: 12px;
}
.empty {
  text-align: center;
  padding: 65px 20px;
  color: #aaa;
  font-size: 13px;
}
.empty h2 {
  color: #eee;
  font-weight: 400;
}
.loading {
  padding: 80px;
  text-align: center;
}
.editor {
  margin-top: 17px;
  border: 1px solid #464646;
  border-radius: 5px;
  padding: 14px;
}
.editor summary {
  cursor: pointer;
  color: var(--yellow);
  font-size: 11px;
}
.editor form {
  padding-top: 8px;
}
.editor .button {
  margin-top: 14px;
}
.filter-empty {
  padding: 30px;
  text-align: center;
  color: #aaa;
  font-size: 12px;
}
#toast:not(:empty) {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  padding: 15px 24px;
  border: 1px solid #777;
  background: #30302a;
  color: #fff;
  border-radius: 8px;
  font-size: 12px;
  box-shadow: 0 10px 40px #0008;
  z-index: 10;
}
dialog {
  background: #242424;
  color: #fff;
  border: 1px solid #555;
  border-radius: 10px;
  width: 520px;
  max-width: calc(100% - 32px);
  max-height: 90vh;
  overflow: auto;
  padding: 27px;
}
dialog::backdrop {
  background: #000a;
}
dialog h2 {
  font-size: 24px;
  font-weight: 400;
}
.full {
  width: 100%;
}
.subtle {
  color: #999;
  font-size: 10px;
  line-height: 1.7;
}
.back {
  font-size: 11px;
  color: #aaa;
}
.phase-note {
  font-size: 10px;
  color: #999;
  margin-top: 18px;
  line-height: 1.6;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.journey-map {
  margin: 0 0 28px;
}
.journey-map-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #171c1a;
  box-shadow: 0 16px 45px #0003;
}
.journey-map-stage img {
  display: block;
  width: 100%;
  height: auto;
}
.journey-map-links {
  position: absolute;
  inset: 0;
}
.journey-map-link {
  position: absolute;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}
.journey-map-link.phase-1 {
  top: 3.5%;
  left: 18.5%;
  width: 22.5%;
  height: 20.5%;
}
.journey-map-link.phase-2 {
  top: 3.5%;
  left: 41.5%;
  width: 26.5%;
  height: 20.5%;
}
.journey-map-link.phase-3 {
  top: 3.5%;
  left: 68%;
  width: 30%;
  height: 20.5%;
}
.journey-map-link.phase-4 {
  top: 57.5%;
  left: 2%;
  width: 29.5%;
  height: 20%;
}
.journey-map-link.phase-5 {
  top: 57.5%;
  left: 34%;
  width: 32%;
  height: 19%;
}
.journey-map-link.phase-6 {
  top: 57.5%;
  left: 67%;
  width: 31%;
  height: 19%;
}
.journey-map-link:hover {
  border-color: #ffd30099;
  background: #ffd3000c;
  box-shadow: 0 0 0 3px #ffd3001a;
}
.journey-map-link.selected {
  border-color: var(--yellow);
  box-shadow: inset 0 0 0 1px #ffd30066;
}
.journey-map-link:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
  background: #0004;
}
#phase-details {
  scroll-margin-top: 24px;
}
@media (min-width: 1600px) {
  .hero {
    padding: 100px 0;
  }
}
@media (max-width: 1000px) {
  .shell {
    padding: 0 28px;
  }
  .hero {
    gap: 35px;
  }
  .content-grid {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
  .phase-tab {
    padding: 12px 4px;
    gap: 7px;
  }
  .phase-tab strong {
    font-size: 11px;
  }
  .auth-layout {
    gap: 40px;
  }
  .brand span {
    font-size: 13px;
  }
  .nav {
    gap: 16px;
  }
}
@media (max-width: 760px) {
  .shell {
    padding: 0 20px;
  }
  .mast {
    height: 88px;
  }
  .brand {
    gap: 13px;
  }
  .brand img {
    width: 80px;
  }
  .brand span {
    padding-left: 13px;
    font-size: 12px;
  }
  .nav {
    gap: 12px;
    font-size: 10px;
  }
  .nav .hide-mobile {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 45px 0;
    gap: 35px;
  }
  .hero h1 {
    font-size: 54px;
    letter-spacing: -2.5px;
  }
  .hero-preview {
    padding: 24px;
  }
  .principles {
    gap: 22px;
    grid-template-columns: 1fr;
  }
  .principles p {
    max-width: none;
  }
  .page-heading {
    padding: 32px 0 24px;
    align-items: flex-start;
  }
  .page-heading h1 {
    font-size: 30px;
  }
  .journey-map {
    overflow-x: auto;
    margin-right: -20px;
    margin-left: -20px;
    padding: 0 20px 8px;
  }
  .journey-map-stage {
    width: 780px;
    max-width: none;
  }
  .stats {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .stat {
    padding: 18px 13px;
  }
  .stat strong {
    font-size: 24px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .stat small {
    font-size: 9px;
    line-height: 1.5;
    display: block;
  }
  .journey-nav {
    grid-template-columns: repeat(3, 1fr);
    margin: 22px 0;
    gap: 8px;
  }
  .phase-tab {
    padding: 12px 7px;
  }
  .content-grid {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 20px;
  }
  .side {
    display: grid;
    grid-template-columns: 1fr;
  }
  .auth-layout {
    grid-template-columns: 1fr;
    padding: 38px 0;
    gap: 25px;
  }
  .auth-copy h1 {
    font-size: 42px;
  }
  .auth-copy .mini-step {
    display: none;
  }
  .form-card {
    padding: 23px;
  }
  .step-main > .pill {
    font-size: 9px;
    padding: 5px 7px;
  }
  .step-meta {
    gap: 10px;
  }
  .step h3 {
    font-size: 12px;
  }
  .form-grid {
    gap: 12px;
  }
  .page-heading > .button {
    padding: 10px;
    font-size: 10px;
  }
  .heading-actions {
    width: 100%;
  }
  .banner {
    line-height: 1.6;
  }
  .foot {
    font-size: 9px;
  }
}
