:root {
  --accent: #06d6a0;
  --gray-1: #333333;
  --gray-2: #4f4f4f;
  --gray-5: #e0e0e0;
  --gray-6: #f2f2f2;
  --page: #ffffff;
  --sidebar: #faf9f9;
  --surface: #ffffff;
  --surface-soft: #f7f6f5;
  --text: #4f4f4f;
  --text-strong: #000000;
  --border: #e0e0e0;
  --rail: #333333;
  --shadow: 0 4px 5px rgba(0, 0, 0, 0.13);
}

[data-theme="dark"] {
  --page: #161616;
  --sidebar: #232323;
  --surface: #1e1e1e;
  --surface-soft: #282828;
  --text: #d5d5d5;
  --text-strong: #f2f2f2;
  --border: #4f4f4f;
  --rail: #0f0f0f;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  background: var(--page);
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0;
}

button,
textarea {
  font: inherit;
}

button {
  border: 0;
}

.questionnaire {
  display: grid;
  grid-template-columns: 89px 350px minmax(0, 1fr);
  min-height: 100vh;
  background: var(--page);
}

.rail {
  align-items: center;
  background: var(--rail);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  padding: 75px 24px;
  width: 89px;
}

.brand-mark {
  display: block;
  height: 35px;
  width: 40px;
}

.brand-mark img,
.rail-button img,
.primary-button img,
.back-button img {
  display: block;
  height: 100%;
  width: 100%;
}

.rail-nav {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 27px;
}

.rail-button {
  align-items: center;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  height: 24px;
  justify-content: center;
  padding: 0;
  width: 24px;
}

.rail-button:focus-visible,
.primary-button:focus-visible,
.back-button:focus-visible,
.option-card:focus-visible,
.pitch-textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.sidebar {
  align-items: center;
  background: var(--sidebar);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  padding: 100px 32px;
  width: 350px;
  z-index: 1;
}

.pagination {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 286px;
}

.step-count {
  color: var(--accent);
  font-family: "Sen", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.21px;
  line-height: normal;
  margin: 0;
}

.progress-track {
  background: var(--gray-6);
  height: 1px;
  overflow: hidden;
  width: 100%;
}

.progress-fill {
  background: var(--accent);
  display: block;
  height: 1px;
  transition: width 180ms ease;
  width: 20%;
}

.sidebar-title {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 100%;
}

.sidebar-title h1 {
  color: var(--text);
  font-family: "Sen", Arial, sans-serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 54px;
  margin: 0;
}

.sidebar-title .highlight {
  color: var(--accent);
}

.sidebar-title p {
  color: var(--text);
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  margin: 0;
}

.tip {
  background: var(--surface);
  border-left: 1.5px solid var(--accent);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 0 16px 16px;
  width: 100%;
}

.tip p {
  margin: 0;
}

.tip-label {
  color: var(--accent);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.21px;
  line-height: normal;
}

.tip #tipText {
  color: var(--text);
  font-size: 14px;
  line-height: 24px;
  max-width: 201px;
}

.body-panel {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-height: 100vh;
  padding: 50px 32px;
  width: 100%;
}

.body-intro {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.body-kicker {
  color: var(--gray-1);
  font-family: "Sen", Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1.76px;
  line-height: normal;
  margin: 0;
  text-transform: capitalize;
}

[data-theme="dark"] .body-kicker {
  color: var(--text-strong);
}

.body-copy {
  color: var(--text);
  font-size: 14px;
  line-height: normal;
  margin: 0;
}

.stage {
  width: 100%;
}

.option-grid {
  display: grid;
  gap: 26px 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}

.option-grid.three-column {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.option-grid.four-column {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.option-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  color: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  position: relative;
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.option-card:hover {
  border-color: rgba(6, 214, 160, 0.55);
}

.option-card[aria-pressed="true"] {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.option-media {
  background: var(--surface-soft);
  border-radius: 8px 8px 0 0;
  height: 210px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.option-media img.card-art {
  display: block;
  height: 100%;
  inset: 0;
  max-width: none;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  position: absolute;
  width: 100%;
}

.option-media img.card-art[class*="crop-"] {
  object-position: top center;
}

.option-media img.fit-contain {
  object-fit: contain;
}

.option-media img.crop-technical-grid {
  height: 238.1%;
  left: -67.2%;
  object-fit: cover;
  top: 0.03%;
  width: 273.89%;
}

.option-media img.crop-ambient-gradient {
  height: 278.57%;
  left: -212.94%;
  object-fit: cover;
  top: 0;
  width: 320.45%;
}

.option-media img.crop-cinematic {
  height: 198.34%;
  left: 0;
  object-fit: cover;
  top: -99.33%;
  width: 100%;
}

.option-media img.crop-section-bento {
  height: 141.11%;
  left: 0;
  object-fit: cover;
  top: -9.97%;
  width: 100%;
}

.option-media img.crop-section-editorial {
  height: 211.67%;
  left: 0;
  object-fit: cover;
  top: 0.17%;
  width: 100%;
}

.option-media img.crop-section-poster {
  height: 211.67%;
  left: -3.78%;
  object-fit: cover;
  top: -25.92%;
  width: 100%;
}

.option-media img.crop-section-gallery {
  height: 211.67%;
  left: -0.07%;
  object-fit: cover;
  top: -5.81%;
  width: 100%;
}

.option-media img.crop-section-swiss {
  height: 211.67%;
  left: 0.27%;
  object-fit: cover;
  top: -5.91%;
  width: 100%;
}

.option-media img.crop-component-01,
.option-media img.crop-component-03 {
  height: 154.46%;
  left: 0;
  object-fit: cover;
  top: -6.5%;
  width: 100%;
}

.option-media img.crop-component-02,
.option-media img.crop-component-06 {
  height: 154.46%;
  left: 0;
  object-fit: cover;
  top: -17.8%;
  width: 100%;
}

.option-media img.crop-component-04,
.option-media img.crop-component-08,
.option-media img.crop-component-09,
.option-media img.crop-component-11 {
  height: 154.46%;
  left: 0;
  object-fit: cover;
  top: -54.5%;
  width: 100%;
}

.option-media img.crop-component-07,
.option-media img.crop-component-10 {
  height: 154.46%;
  left: 0;
  object-fit: cover;
  top: -7.5%;
  width: 100%;
}

.option-media img.crop-motion-01,
.option-media img.crop-motion-03,
.option-media img.crop-motion-04 {
  height: 211.67%;
  left: 0;
  object-fit: cover;
  top: -14%;
  width: 100%;
}

.option-media img.crop-motion-02 {
  height: 211.67%;
  left: 0;
  object-fit: cover;
  top: -5.84%;
  width: 100%;
}

.option-media img.crop-motion-05 {
  height: 211.67%;
  left: 0;
  object-fit: cover;
  top: -41.2%;
  width: 100%;
}

.option-media img.crop-motion-06 {
  height: 211.67%;
  left: 0;
  object-fit: cover;
  top: -17.91%;
  width: 100%;
}

.indicator {
  height: 24px;
  position: absolute;
  right: 13px;
  top: 12px;
  width: 24px;
  z-index: 2;
}

.option-card[aria-pressed="true"] .indicator {
  background: var(--accent);
  border-radius: 999px;
}

.option-card[aria-pressed="true"] .indicator::after {
  border: solid var(--gray-1);
  border-width: 0 2px 2px 0;
  content: "";
  height: 8px;
  left: 9px;
  position: absolute;
  top: 5px;
  transform: rotate(45deg);
  width: 4px;
}

.option-desc {
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  width: 100%;
}

.option-number {
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.32px;
  line-height: normal;
  margin: 0;
}

.option-title {
  color: var(--text-strong);
  font-family: "Sen", Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.72px;
  line-height: normal;
  margin: 0;
}

.option-copy {
  color: var(--text);
  font-size: 16px;
  line-height: normal;
  margin: 0;
}

.font-license {
  align-self: flex-start;
  border: 1px solid rgba(6, 214, 160, 0.48);
  border-radius: 999px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
  padding: 6px 8px;
}

.font-license.paid,
.font-license.mixed {
  border-color: color-mix(in srgb, var(--text) 28%, transparent);
  color: var(--text);
}

.compact-grid {
  align-self: flex-end;
}

.compact-grid .option-card {
  min-height: 306px;
}

.compact-grid .option-desc {
  min-height: 96px;
}

.compact-grid .option-title {
  line-height: 1.18;
}

.font-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.font-card {
  min-height: 314px;
}

.font-card .option-media {
  align-items: center;
  background: var(--surface);
  display: flex;
  height: 164px;
  justify-content: center;
}

.font-sample {
  color: var(--text-strong);
  font-family: "Sen", Arial, sans-serif;
  font-size: 128px;
  font-weight: 400;
  letter-spacing: 5.12px;
  line-height: 1;
  margin-top: 7px;
}

.font-sample.manrope {
  font-family: "Manrope", "Inter", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.font-sample.space-grotesk {
  font-family: "Space Grotesk", "Inter", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.font-sample.bricolage {
  font-family: "Bricolage Grotesque", "Inter", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.font-sample.archivo {
  font-family: "Archivo Black", "Inter", Arial, sans-serif;
  font-size: 116px;
  letter-spacing: 0;
}

.font-sample.fraunces {
  font-family: "Fraunces", Georgia, serif;
  font-size: 122px;
  font-weight: 700;
  letter-spacing: 0;
}

.font-sample.arimo {
  font-family: "Arimo", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.font-card .option-desc {
  gap: 16px;
}

.accent-rule {
  background: var(--accent);
  display: block;
  height: 1.5px;
  width: 30px;
}

.font-card .option-title {
  font-size: 24px;
  letter-spacing: 0.96px;
}

.custom-font-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: grid;
  gap: 10px;
  grid-column: 1 / -1;
  padding: 16px;
}

.custom-font-panel span {
  color: var(--text-strong);
  font-family: "Sen", Arial, sans-serif;
  font-size: 18px;
  line-height: 24px;
}

.custom-font-panel textarea {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-strong);
  font: inherit;
  font-size: 14px;
  line-height: 20px;
  min-height: 64px;
  padding: 12px 14px;
  resize: vertical;
  width: 100%;
}

.custom-font-panel textarea:focus-visible {
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.pitch-panel {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 286px;
  width: 100%;
}

.pitch-field {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  min-height: 522px;
  overflow: hidden;
  padding: 28px;
}

.pitch-label {
  color: var(--accent);
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.32px;
  line-height: normal;
  margin-bottom: 14px;
}

.pitch-textarea {
  background: transparent;
  border: 0;
  color: var(--text-strong);
  display: block;
  font-family: "Sen", Arial, sans-serif;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 42px;
  min-height: 410px;
  padding: 0;
  resize: vertical;
  width: 100%;
}

.pitch-textarea::placeholder {
  color: color-mix(in srgb, var(--text) 70%, transparent);
}

.pitch-note {
  align-self: start;
  background: var(--surface);
  border-left: 1.5px solid var(--accent);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 0 18px 18px;
}

.pitch-side {
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pitch-note p {
  color: var(--text);
  font-size: 14px;
  line-height: 24px;
  margin: 0;
}

.pitch-note .note-title {
  color: var(--accent);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.21px;
  line-height: normal;
}

.upload-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
}

.upload-panel p {
  margin: 0;
}

.upload-title {
  color: var(--text-strong);
  font-family: "Sen", Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 26px;
}

.upload-copy {
  color: var(--text);
  font-size: 13px;
  line-height: 20px;
}

.upload-limit-note {
  border-left: 2px solid var(--accent);
  color: var(--text);
  font-size: 12px;
  line-height: 18px;
  padding-left: 10px;
}

.upload-dropzone {
  border: 1px dashed color-mix(in srgb, var(--accent) 60%, var(--border));
  border-radius: 10px;
  color: var(--text);
  cursor: pointer;
  display: block;
  font-size: 13px;
  line-height: 18px;
  min-height: 72px;
  padding: 16px;
}

.upload-dropzone:hover {
  border-color: var(--accent);
}

.upload-status {
  color: var(--text);
  font-size: 12px;
  line-height: 18px;
}

.upload-status.error {
  color: #b3261e;
}

.upload-status.success {
  color: var(--accent);
}

.upload-input {
  height: 1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.upload-link-field {
  display: grid;
  gap: 8px;
}

.upload-link-field span {
  color: var(--text);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.48px;
  text-transform: uppercase;
}

.upload-link-field input {
  background: var(--gray-1);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-strong);
  font: inherit;
  font-size: 13px;
  line-height: 18px;
  min-height: 42px;
  padding: 10px 12px;
  width: 100%;
}

.upload-link-field input:focus {
  border-color: var(--accent);
  outline: none;
}

.upload-remove {
  align-self: flex-start;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: normal;
  padding: 0;
}

.bottom-action {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 40px;
  width: 100%;
}

.back-button,
.primary-button {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  gap: 16px;
}

.back-button {
  background: transparent;
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.48px;
  line-height: normal;
  padding: 5px 35px;
}

.back-button img {
  height: 20px;
  transform: rotate(180deg);
  width: 20px;
}

.primary-button {
  background: var(--accent);
  border-radius: 54px;
  color: var(--gray-1);
  font-family: "Sen", Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.48px;
  line-height: normal;
  min-height: 40px;
  padding: 10px 35px;
}

.primary-button img {
  height: 20px;
  width: 20px;
}

.primary-button[disabled] {
  cursor: wait;
  opacity: 0.72;
}

.form-status {
  color: var(--text);
  flex: 1;
  font-size: 13px;
  line-height: 18px;
  margin: 0 24px;
  min-height: 18px;
  text-align: right;
}

.success-card {
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 522px;
  padding: 32px;
  width: 100%;
}

.success-card h2 {
  color: var(--text-strong);
  font-family: "Sen", Arial, sans-serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 54px;
  margin: 0;
  max-width: 640px;
}

.success-card p {
  color: var(--text);
  font-size: 18px;
  line-height: 28px;
  margin: 0;
  max-width: 600px;
}

@media (max-width: 1180px) {
  .questionnaire {
    grid-template-columns: 72px 300px minmax(0, 1fr);
  }

  .rail {
    padding-left: 20px;
    padding-right: 20px;
    width: 72px;
  }

  .sidebar {
    padding-left: 24px;
    padding-right: 24px;
    width: 300px;
  }

  .pagination {
    width: 252px;
  }

  .sidebar-title h1 {
    font-size: 32px;
    line-height: 44px;
  }

  .option-grid.three-column,
  .option-grid.four-column,
  .font-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .questionnaire {
    display: block;
  }

  .rail {
    flex-direction: row;
    height: 64px;
    min-height: 64px;
    padding: 14px 24px;
    width: 100%;
  }

  .brand-mark {
    height: 28px;
    width: 32px;
  }

  .rail-nav {
    flex-direction: row;
    gap: 22px;
  }

  .sidebar {
    align-items: flex-start;
    gap: 28px;
    min-height: auto;
    padding: 28px 24px;
    width: 100%;
  }

  .pagination {
    width: 100%;
  }

  .sidebar-title h1 {
    font-size: 32px;
    line-height: 42px;
  }

  .sidebar-title p {
    font-size: 16px;
    line-height: 24px;
  }

  .tip {
    max-width: none;
  }

  .tip #tipText {
    max-width: none;
  }

  .body-panel {
    min-height: auto;
    padding: 28px 24px 34px;
  }

  .option-grid,
  .option-grid.three-column,
  .option-grid.four-column,
  .font-grid,
  .pitch-panel {
    grid-template-columns: 1fr;
  }

  .option-media {
    height: 190px;
  }

  .font-card .option-media {
    height: 142px;
  }

  .font-sample {
    font-size: 104px;
  }

  .pitch-field {
    min-height: 420px;
    padding: 24px;
  }

  .pitch-textarea {
    font-size: 24px;
    line-height: 34px;
    min-height: 310px;
  }

  .bottom-action {
    gap: 18px;
  }

  .back-button,
  .primary-button {
    padding-left: 24px;
    padding-right: 24px;
  }

  .form-status {
    display: none;
  }
}

@media (max-width: 460px) {
  .rail {
    padding-left: 18px;
    padding-right: 18px;
  }

  .rail-nav {
    gap: 16px;
  }

  .sidebar,
  .body-panel {
    padding-left: 18px;
    padding-right: 18px;
  }

  .sidebar-title h1 {
    font-size: 28px;
    line-height: 38px;
  }

  .option-title {
    font-size: 17px;
  }

  .bottom-action {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .back-button,
  .primary-button {
    justify-content: center;
    width: 100%;
  }
}
