/* MONTKUSH UGC collection — tokens from montkush-design-tokens.json */

/* Drop the licensed Gilroy files into /public/fonts and uncomment to match the store.
@font-face {
  font-family: 'Gilroy';
  src: url('/fonts/gilroy-semibold.woff2') format('woff2');
  font-weight: 600; font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('/fonts/gilroy-bold.woff2') format('woff2');
  font-weight: 700; font-display: swap;
}
*/

:root {
  --blue: #008ad8;
  --blue-deep: #004e77;
  --sky: #dff4ff;
  --sky-soft: #eef8ff;
  --cream: #fff8ef;
  --sunshine: #ffe7a3;
  --warm-white: #f8fbff;
  --navy: #0d2240;
  --muted: #5c6b80;
  --green: #26b36b;
  --red: #e85d5d;
  --line: rgba(0, 0, 0, 0.08);
  --radius: 24px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  --font: 'Gilroy', 'Avenir Next', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--navy);
  background: var(--warm-white);
  background-image: linear-gradient(180deg, var(--sky) 0%, var(--warm-white) 340px);
  background-repeat: no-repeat;
}

main {
  max-width: 620px;
  margin: 0 auto;
  padding: 0 20px 56px;
}

/* Header */

.bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 20px 20px 28px;
}

.brand-logo {
  display: block;
  width: min(184px, 72vw);
  height: auto;
}

.mark-sub {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--blue);
  text-transform: uppercase;
}

/* Intro */

.intro { padding-bottom: 28px; }

h1 {
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 12px;
}

.lede {
  font-size: 17px;
  margin: 0 0 10px;
  color: var(--navy);
}

.fineprint {
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  margin: 0;
}

/* Filming guide */

.guide {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 20px;
  margin-bottom: 28px;
}

.guide h2 {
  font-size: 18px;
  margin: 0 0 14px;
  font-weight: 700;
}

.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.checks li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--muted);
}

.checks strong { color: var(--navy); font-weight: 600; }

.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sunshine) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d2240' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* Illustrated filming guide */

.visual-guide {
  margin: -8px 0 28px;
  padding: 0;
}

.visual-guide-head {
  padding: 0 2px;
  margin-bottom: 16px;
}

.eyebrow {
  margin: 0 0 5px;
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visual-guide h2 {
  margin: 0 0 8px;
  font-size: 23px;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.visual-guide-head > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.step-card {
  position: relative;
  min-height: 228px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}

.step-card::after {
  content: '';
  position: absolute;
  z-index: 0;
  width: 100px;
  height: 100px;
  right: -40px;
  bottom: -48px;
  border-radius: 50%;
  background: var(--sky-soft);
}

.step-number {
  position: absolute;
  z-index: 2;
  top: 13px;
  right: 13px;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: var(--sunshine);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

.step-art {
  position: relative;
  z-index: 1;
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 22px;
  color: var(--blue-deep);
}

.step-art svg {
  width: 68px;
  height: 60px;
}

.step-art-quiet { background: #e2f5ff; }
.step-art-phone { background: #fff0bf; }
.step-art-light { background: #fff8d7; color: #a86300; }
.step-art-story { background: #e6f8ef; color: #087344; }

.step-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 5px;
  font-size: 16px;
  line-height: 1.2;
}

.step-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.42;
}

.guide-tip {
  margin: 14px 0 0;
  padding: 13px 16px;
  border-radius: 16px;
  background: var(--sky-soft);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.guide-tip strong { color: var(--navy); }

/* Form */

fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 20px;
  margin: 0 0 16px;
}

legend {
  font-weight: 700;
  font-size: 15px;
  padding: 0 8px;
  margin-left: -8px;
}

label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
}

label:last-child { margin-bottom: 0; }

.opt {
  font-weight: 400;
  color: var(--muted);
}

input[type=text], input:not([type]), input[type=email], select, textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 13px 14px;
  font: inherit;
  font-weight: 400;
  color: var(--navy);
  background: var(--warm-white);
  border: 1px solid var(--line);
  border-radius: 14px;
  min-height: 48px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea { resize: vertical; }

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c6b80' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}

input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 138, 216, 0.18);
}

input.bad, select.bad {
  border-color: var(--red);
  background: #fff6f6;
}

.row { display: flex; gap: 12px; }
.row > label { flex: 1; }
.narrow { max-width: 190px; }

.product-lock {
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 138, 216, 0.2);
  border-radius: 16px;
  background: var(--sky-soft);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.product-lock strong { color: var(--blue-deep); }

.reward-note {
  margin: -2px 0 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--sky-soft);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.reward-note strong { color: var(--navy); }

/* File picker */

.file {
  border: 1.5px dashed rgba(0, 138, 216, 0.45);
  background: var(--sky-soft);
  border-radius: 18px;
  padding: 20px;
  text-align: center;
  margin-bottom: 14px;
}

.file.filled { border-style: solid; background: #fff; }

#file {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  overflow: hidden;
}

.filebtn {
  display: inline-block;
  margin: 0;
  padding: 13px 26px;
  min-height: 48px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0, 138, 216, 0.4);
  color: var(--blue-deep);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}

#file:focus-visible + .filebtn {
  box-shadow: 0 0 0 3px rgba(0, 138, 216, 0.25);
}

.filemeta {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--muted);
  word-break: break-word;
}

/* Checkboxes */

.perms { background: var(--sky-soft); }

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 16px;
}

.check input {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin: 0;
  accent-color: var(--blue);
}

.check input:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Submit + progress */

button[type=submit] {
  display: block;
  width: 100%;
  min-height: 56px;
  padding: 16px;
  font: inherit;
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  background: linear-gradient(135deg, #008ad8 0%, #004e77 100%);
  border: none;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 138, 216, 0.2);
  cursor: pointer;
}

button[type=submit]:disabled { opacity: 0.55; cursor: default; }

button:focus-visible { outline: 3px solid var(--blue-deep); outline-offset: 3px; }

.error {
  background: #fff6f6;
  border: 1px solid rgba(232, 93, 93, 0.4);
  color: #a93232;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 14px;
  margin: 0 0 16px;
}

.progress { margin-top: 18px; }

.track {
  height: 10px;
  border-radius: 999px;
  background: var(--sky);
  overflow: hidden;
}

.fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #008ad8, #26b36b);
  transition: width 0.3s ease;
}

.status {
  font-size: 14px;
  font-weight: 600;
  margin: 10px 0 4px;
}

/* Done */

.done {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  text-align: center;
}

.done h2 { font-size: 26px; margin: 0 0 10px; }
.done p { color: var(--muted); margin: 0 0 20px; }

.back {
  display: inline-block;
  padding: 14px 28px;
  min-height: 48px;
  border-radius: 999px;
  background: linear-gradient(135deg, #008ad8 0%, #004e77 100%);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

footer {
  max-width: 620px;
  margin: 0 auto;
  padding: 0 20px 48px;
  text-align: center;
}

footer p { font-size: 13px; color: var(--muted); }
footer a { color: var(--blue-deep); }

@media (min-width: 620px) {
  h1 { font-size: 40px; }
  .bar { padding-top: 32px; }
  fieldset, .guide { padding: 26px 24px; }
  .visual-guide h2 { font-size: 26px; }
  .step-card { min-height: 216px; padding: 18px; }
  .step-art { width: 92px; height: 88px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; }
}
