@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/space-grotesk-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/playfair-display-latin.woff2") format("woff2");
}
/* Brand palette and typography from masterfunnels.pt. See public/BRAND.md. */
:root {
  font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  color: #f0f0f5;
  background: #060608;
  color-scheme: dark;
  font-synthesis: none;
  --gold: #d4a843;
  --gold-light: #e8c36a;
  --surface: #111116;
  --border: #252530;
  --muted: #a0a0b3;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  background: radial-gradient(ellipse at 5% 20%, #d4a8430c, transparent 45%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("/constellation.svg") center top / cover no-repeat;
  opacity: 0.16;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
[hidden] {
  display: none !important;
}
.topbar {
  min-height: 108px;
  max-width: 1240px;
  margin: auto;
  padding: 16px 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #1a1a22;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.brand img {
  display: block;
  width: 140px;
  height: 60px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 25px;
}
.top-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px #d4a84350;
}
select.language-select {
  width: 115px;
  height: 36px;
  padding: 8px 12px;
  border-radius: 20px;
  color: var(--gold);
  background: #0a0a0e;
  font-size: 12px;
}
main {
  max-width: 1150px;
  margin: 62px auto 70px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
  gap: 70px;
  align-items: start;
  padding: 0 32px;
}
.intro {
  padding-top: 72px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.2px;
  color: var(--gold);
}
.intro h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 59px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -1.8px;
  margin: 25px 0;
}
.headline-accent {
  color: var(--gold);
}
.intro p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 385px;
}
.intro-note {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 40px;
}
.note-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid #d4a84340;
  border-radius: 50%;
  font-size: 16px;
  color: var(--gold);
}
.card {
  min-width: 0;
  padding: 32px;
  background: #0a0a0ef5;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 20px 70px #0005;
}
.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 25px;
}
.card h2 {
  font-size: 23px;
  letter-spacing: -0.6px;
  font-weight: 500;
  margin: 9px 0 0;
}
.ticket-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #d4a8430c;
  border: 1px solid #d4a84325;
  color: var(--gold);
  font-size: 24px;
}
form > label,
legend {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin: 21px 0 9px;
}
.required {
  color: var(--gold);
  margin-left: 3px;
}
.optional {
  font-weight: 400;
  font-size: 11px;
  color: var(--muted);
  margin-left: 6px;
}
input:not([type="radio"]):not([type="file"]),
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 12px 14px;
  background: var(--surface);
  color: #f0f0f5;
  font-size: 13px;
  outline: none;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
input::placeholder,
textarea::placeholder {
  color: #8888a0;
}
textarea {
  resize: vertical;
  min-height: 105px;
  line-height: 1.7;
}
select {
  appearance: none;
  cursor: pointer;
  height: 45px;
}
.select-wrap {
  position: relative;
}
.select-wrap::after {
  content: "⌄";
  position: absolute;
  right: 15px;
  top: 10px;
  pointer-events: none;
  color: var(--gold);
}
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  border-color: #d4a84399;
  box-shadow: 0 0 0 3px #d4a84315;
}
fieldset {
  border: 0;
  min-width: 0;
  padding: 0;
  margin: 22px 0 0;
}
legend {
  padding: 0;
  margin: 0 0 11px;
}
.urgency-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}
.urgency-option {
  cursor: pointer;
  position: relative;
}
.urgency-option input {
  position: absolute;
  opacity: 0;
}
.urgency-option > span {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  column-gap: 8px;
  align-content: start;
  min-height: 70px;
  height: 100%;
  padding: 13px 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #111116;
}
.urgency-option input:checked + span {
  border-color: #d4a84380;
  background: #d4a8430c;
  box-shadow: inset 0 0 0 1px #d4a84335;
}
.urgency-option input:focus-visible + span {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.level {
  grid-row: span 2;
  align-self: center;
  display: grid;
  place-items: center;
  background: #d4a8430e;
  border-radius: 6px;
  width: 24px;
  height: 28px;
  font-size: 12px;
  color: var(--gold);
  font-weight: 500;
}
.urgency-option strong {
  font-size: 12px;
  font-weight: 500;
}
.urgency-option small {
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.5;
}
.upload-box {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px dashed #d4a84345;
  border-radius: 10px;
  padding: 18px;
  background: #d4a84305;
  position: relative;
}
.upload-box:focus-within {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.upload-box input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.upload-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #d4a84335;
  border-radius: 8px;
  font-size: 21px;
  color: var(--gold);
}
.upload-box strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}
.upload-box small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}
.field-hint {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  margin-top: 9px;
}
.image-preview {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px;
}
.image-preview img {
  width: 70px;
  height: 55px;
  object-fit: cover;
  border-radius: 5px;
}
.image-preview div {
  min-width: 0;
}
.image-preview span {
  display: block;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.image-preview button {
  border: 0;
  background: none;
  padding: 5px 0;
  color: var(--gold);
  cursor: pointer;
  font-size: 11px;
  text-decoration: underline;
}
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
#captcha:not(:empty) {
  margin-top: 20px;
}
.submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 16px 18px;
  margin-top: 25px;
  border: 1px solid #d4a84370;
  border-radius: 12px;
  background: #d4a84308;
  color: #f0f0f5;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.submit:hover {
  background: #d4a84312;
  border-color: var(--gold);
}
.submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.submit:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.submit > span:last-child {
  font-size: 20px;
  line-height: 14px;
  color: var(--gold);
}
.form-footer {
  text-align: center;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  margin: 13px 0 0;
}
.notice {
  background: #d4a8430a;
  border: 1px solid #d4a84335;
  padding: 12px;
  border-radius: 9px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--gold-light);
}
.error {
  background: #f871710a;
  border: 1px solid #f8717125;
  color: #ffb4a6;
  border-radius: 9px;
  font-size: 12px;
  line-height: 1.7;
  padding: 12px;
}
.success {
  padding: 40px 0;
  text-align: center;
}
.success-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 22px;
  background: #d4a8430a;
  border: 1px solid #d4a84335;
  color: var(--gold);
  font-size: 26px;
}
.success p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
.page-footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  max-width: 1150px;
  margin: 0 auto 28px;
  padding: 0 32px;
  font-size: 10px;
  letter-spacing: 0.8px;
  color: #8888a0;
}
.page-footer span:first-child {
  font-weight: 500;
}
@media (max-width: 1000px) {
  main {
    gap: 35px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 500px);
  }
  .intro h1 {
    font-size: 45px;
  }
  .topbar {
    padding: 16px 32px;
  }
}
@media (max-width: 800px) {
  .topbar {
    min-height: 90px;
    padding: 12px 22px;
  }
  .brand img {
    width: 117px;
    height: 50px;
  }
  .top-label {
    display: none;
  }
  .header-actions {
    gap: 8px;
  }
  select.language-select {
    width: 106px;
    font-size: 12px;
  }
  main {
    display: block;
    margin: 34px auto;
    padding: 0 18px;
    max-width: 570px;
  }
  .intro {
    padding: 0 6px 30px;
  }
  .intro h1 {
    font-size: 43px;
    letter-spacing: -1px;
    margin: 18px 0;
  }
  .intro h1 br {
    display: none;
  }
  .intro p {
    font-size: 14px;
    margin-bottom: 0;
  }
  .intro-note {
    margin-top: 20px;
    font-size: 11px;
  }
  .card {
    padding: 24px 20px;
  }
  .card-heading {
    margin-bottom: 20px;
  }
  .card h2 {
    font-size: 21px;
  }
  .page-footer {
    padding: 0 24px;
    font-size: 9px;
  }
  .urgency-option > span {
    padding: 11px 7px;
    column-gap: 5px;
  }
  .urgency-option small {
    font-size: 9px;
  }
  input:not([type="radio"]):not([type="file"]),
  #project,
  textarea {
    font-size: 16px;
  }
}
@media (max-width: 400px) {
  .urgency-option > span {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .level {
    grid-row: auto;
    margin: 0 auto 7px;
  }
  .urgency-option small {
    white-space: normal;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
