:root {
  --ink: #f8fbff;
  --muted: #9eb0c5;
  --navy: #011e3b;
  --navy-2: #06162a;
  --gold: #ffba09;
  --orange: #ff9115;
  --panel: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.18);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family:
    Avenir Next,
    Helvetica Neue,
    Helvetica,
    Arial,
    sans-serif;
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 186, 9, 0.22), transparent 28rem),
    radial-gradient(circle at 85% 10%, rgba(255, 145, 21, 0.16), transparent 24rem),
    linear-gradient(135deg, var(--navy), var(--navy-2) 68%, #02070f);
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

.shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
  width: min(1180px, calc(100% - 2rem));
  min-height: 100vh;
  margin: 0 auto;
  padding: 4rem 0;
}

.hero {
  display: grid;
  gap: 1.35rem;
}

.eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: -0.055em;
}

h1 {
  max-width: 9ch;
  font-size: clamp(4.4rem, 12vw, 9.8rem);
  line-height: 0.82;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 0.92;
}

.intro {
  max-width: 35rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.preview-card,
.panel {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.preview-card {
  display: grid;
  place-items: center;
  width: min(18rem, 72vw);
  aspect-ratio: 1;
  margin-top: 1rem;
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), transparent),
    #011e3b;
}

.brand-line {
  align-self: end;
  color: white;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.preview-slot {
  display: grid;
  place-items: center;
  width: 46%;
  aspect-ratio: 1;
  color: rgba(255, 255, 255, 0.62);
  border: 2px dashed rgba(255, 255, 255, 0.25);
  border-radius: 1.25rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.preview-title {
  align-self: start;
  font-size: 1.45rem;
  font-weight: 900;
}

.panel {
  padding: clamp(1.25rem, 4vw, 2rem);
  border-radius: 2rem;
}

.panel-heading {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

form {
  display: grid;
  gap: 1rem;
}

.field,
.upload-zone,
.check {
  display: grid;
  gap: 0.45rem;
}

.field span,
.check span,
.upload-title {
  color: white;
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
button,
.upload-zone {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 1rem;
  font: inherit;
}

input,
select {
  min-height: 3.3rem;
  padding: 0 1rem;
  color: white;
  background: rgba(0, 0, 0, 0.22);
  outline: none;
}

input:focus,
select:focus,
.upload-zone:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(255, 186, 9, 0.14);
}

.upload-zone {
  position: relative;
  min-height: 8.5rem;
  padding: 1.25rem;
  place-items: center;
  text-align: center;
  cursor: pointer;
  border-style: dashed;
  background: rgba(255, 255, 255, 0.055);
}

.upload-copy {
  color: var(--muted);
}

.upload-zone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin: 0.25rem 0;
}

.compact {
  max-width: 12rem;
}

.check {
  grid-template-columns: auto 1fr;
  align-items: center;
  padding: 0.75rem 0.2rem;
}

.check input {
  width: 1.15rem;
  min-height: 1.15rem;
  accent-color: var(--gold);
}

button {
  min-height: 3.6rem;
  color: #071120;
  font-weight: 950;
  cursor: pointer;
  border: 0;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  box-shadow: 0 16px 42px rgba(255, 145, 21, 0.26);
}

button:hover {
  transform: translateY(-1px);
}

.api-note {
  margin-top: 1.25rem;
  padding: 1rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.16);
  line-height: 1.55;
}

code {
  color: white;
  font-size: 0.92em;
}

@media (max-width: 860px) {
  .shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  h1 {
    max-width: 8ch;
  }
}
