:root {
  --bg: #f3eee7;
  --panel: #fbf8f4;
  --panel-2: #fffdf9;
  --text: #171225;
  --muted: #625d72;
  --line: #ded4ca;
  --line-2: #cfc3b9;
  --accent: #ffad46;
  --accent-2: #17aaa2;
  --accent-3: #ff74c6;
  --shadow: 0 24px 70px rgba(34, 22, 45, 0.09);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at 95% 4%, rgba(255, 116, 198, 0.16), transparent 24rem),
    radial-gradient(circle at 2% 16%, rgba(255, 173, 70, 0.14), transparent 22rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

button,
input,
label {
  font: inherit;
}

button,
label {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  max-width: 1320px;
  margin: 0 auto;
  padding: 30px;
}

.topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  margin-bottom: 28px;
}

.brand-wrap {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-3) 58%, #877bff);
  box-shadow: var(--shadow);
}

.brand-name {
  font-size: 2rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.brand-sub {
  margin-top: 5px;
  color: var(--muted);
  font-weight: 650;
}

.nav-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-pills a,
.signin-btn {
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.72);
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
}

.signin-btn {
  color: var(--text);
  justify-self: end;
}

.hero-card,
.lane-card,
.pricing-card,
.rights-card,
.public-lanes {
  background: rgba(251, 248, 244, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: clamp(28px, 6vw, 66px);
  text-align: center;
}

.eyebrow,
.section-label {
  color: var(--accent-2);
  font-size: 0.86rem;
  letter-spacing: 0.28em;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 18px;
}

.hero-copy h1 {
  margin: 0 auto;
  max-width: 980px;
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.hero-sub {
  max-width: 780px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.45;
}

.prompt-panel {
  max-width: 1060px;
  margin: 34px auto 0;
}

.prompt-bar {
  display: grid;
  grid-template-columns: 56px 1fr auto 56px;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.9);
  border-radius: 999px;
  box-shadow: 0 18px 44px rgba(34, 22, 45, 0.07);
}

.plus-btn,
.go-btn {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: var(--text);
}

.plus-btn {
  background: transparent;
  font-size: 2rem;
  line-height: 1;
}

.go-btn {
  background: #dfe0e8;
  font-size: 1.55rem;
  font-weight: 900;
}

#promptInput {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 1.2rem;
}

#promptInput::placeholder {
  color: #8d879a;
}

.upload-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  border-radius: 999px;
  font-weight: 850;
  cursor: pointer;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 18px;
}

.chip {
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.82);
  color: var(--muted);
  border-radius: 999px;
  padding: 14px 20px;
  font-weight: 850;
  cursor: pointer;
}

.chip:hover,
.nav-pills a:hover,
.signin-btn:hover,
.upload-chip:hover,
.secondary-btn:hover {
  border-color: var(--line-2);
  color: var(--text);
}

.lane-grid {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 24px;
  margin-top: 28px;
}

.lane-card {
  padding: clamp(24px, 4vw, 34px);
}

.lane-card h2,
.public-lanes h2,
.pricing-card h2 {
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.lane-card p,
.result-sub,
.preview-box p,
.rights-card p,
.pricing-card p,
.footer,
.small-note {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.55;
}

.dropzone {
  min-height: 190px;
  margin-top: 26px;
  display: grid;
  place-items: center;
  border: 2px dashed var(--line-2);
  border-radius: 22px;
  background: rgba(255, 253, 249, 0.55);
  color: var(--muted);
  font-weight: 850;
  transition: 0.18s ease;
}

.small-note {
  margin-top: 18px;
  font-size: 0.95rem;
}

.state-panel {
  display: none;
}

.state-active {
  display: block;
}

.preview-box {
  margin-top: 16px;
  padding: 20px;
  background: rgba(255, 253, 249, 0.68);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.preview-title {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 950;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.simple-list,
.locked ul,
.price-box ul {
  margin: 0;
  padding-left: 21px;
  color: var(--muted);
  line-height: 1.8;
}

.blurred {
  filter: blur(4px);
  user-select: none;
}

.progress-stack {
  display: grid;
  gap: 16px;
}

.progress-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 850;
}

.progress-bar {
  height: 12px;
  background: #ebe3da;
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar > div {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.35s ease;
}

.rights-check {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.52);
  color: var(--muted);
  font-weight: 700;
}

.rights-check input {
  margin-right: 8px;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.primary-btn,
.secondary-btn {
  border: 0;
  border-radius: 17px;
  padding: 15px 22px;
  font-weight: 950;
  cursor: pointer;
}

.primary-btn {
  background: var(--accent);
  color: #201305;
}

.primary-btn:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.secondary-btn {
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--text);
}

.public-lanes,
.pricing-card,
.rights-card {
  margin-top: 28px;
  padding: clamp(24px, 4vw, 34px);
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.tool-card {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 253, 249, 0.66);
}

.tool-card span {
  color: var(--accent-2);
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tool-card h3 {
  margin: 14px 0 10px;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}

.tool-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.pricing-card {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  align-items: center;
}

.price-box {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 253, 249, 0.72);
}

.price {
  font-size: 4rem;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.price-note {
  margin: 8px 0 18px;
  color: var(--muted);
  font-weight: 800;
}

.rights-card {
  box-shadow: none;
}

.footer {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 34px 4px 12px;
  font-size: 0.95rem;
}

.footer span:first-child {
  color: var(--text);
  font-weight: 900;
}

@media (max-width: 1060px) {
  .topbar {
    grid-template-columns: 1fr;
  }

  .signin-btn {
    justify-self: start;
  }

  .nav-pills {
    justify-content: flex-start;
  }

  .lane-grid,
  .pricing-card,
  .tool-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell {
    padding: 18px;
  }

  .hero-card {
    padding: 28px 18px;
  }

  .prompt-bar {
    grid-template-columns: 48px 1fr;
    border-radius: 28px;
  }

  .upload-chip {
    grid-column: 1 / 2;
  }

  .go-btn {
    grid-column: 2 / 3;
    justify-self: end;
  }

  .brand-name {
    font-size: 1.7rem;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  #promptInput {
    font-size: 1rem;
  }
}