/* The Complete Light — visualizer.
   Single visual world on purpose, not theme aware: the product IS warm light against a dark sky,
   so a light mode would argue with the thing being sold. Every colour is painted explicitly so it
   holds on any host background. */

:root{
  --night:#0b1220;        /* the sky */
  --night-2:#111c2f;      /* raised surface */
  --edge:#1e2d45;
  --ink:#eef3fa;
  --muted:#93a4bd;
  --lamp:#f0a94b;         /* the light itself. the only warm thing on the page */
  --lamp-soft:#f6c684;
  --glow:rgba(240,169,75,.14);
  --bad:#ef8f6a;
  --ok:#6fbf92;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  background:
    radial-gradient(120% 70% at 50% 108%, var(--glow) 0%, transparent 62%),
    var(--night);
  color:var(--ink);
  font:16px/1.6 -apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
  min-height:100vh;
}

.wrap{max-width:34rem;margin:0 auto;padding:3rem 1.15rem 4rem;display:flex;flex-direction:column;gap:1.1rem}

.head{text-align:center;margin-bottom:.4rem}
.eyebrow{
  font-size:.68rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;
  color:var(--lamp);margin:0 0 1rem;
}
h1{
  font-size:clamp(2.1rem,8vw,3rem);line-height:1.04;letter-spacing:-.035em;font-weight:800;
  margin:0 0 .8rem;text-wrap:balance;
}
/* the headline literally lights up, which is the product in one gesture */
.lit{
  color:var(--lamp-soft);
  text-shadow:0 0 26px rgba(240,169,75,.45), 0 0 60px rgba(240,169,75,.18);
}
.sub{color:var(--muted);margin:0;font-size:1rem;max-width:26rem;margin-inline:auto}

.card{
  background:var(--night-2);
  border:1px solid var(--edge);
  border-radius:14px;
  padding:1.3rem 1.2rem;
}
.step{
  display:flex;align-items:center;gap:.6rem;
  font-size:.72rem;font-weight:700;letter-spacing:.13em;text-transform:uppercase;
  color:var(--muted);margin-bottom:1rem;
}
.step .n{
  display:grid;place-items:center;width:1.45rem;height:1.45rem;border-radius:50%;
  background:var(--lamp);color:#2a1904;font-size:.78rem;font-weight:800;letter-spacing:0;
}

.drop{
  display:block;border:1.5px dashed var(--edge);border-radius:11px;
  padding:2.1rem 1rem;text-align:center;cursor:pointer;
  transition:border-color .15s ease, background .15s ease;
}
.drop:hover,.drop:focus-visible,.drop.over{border-color:var(--lamp);background:rgba(240,169,75,.05);outline:none}
.drop-in{display:flex;flex-direction:column;align-items:center;gap:.45rem}
.ic{width:26px;height:26px;fill:none;stroke:var(--lamp);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.drop-t{font-weight:700}
.drop-s{color:var(--muted);font-size:.85rem;max-width:20rem}

.preview img{width:100%;border-radius:10px;display:block;border:1px solid var(--edge)}
.link{
  background:none;border:0;color:var(--lamp);cursor:pointer;padding:.6rem 0 0;
  font-size:.85rem;text-decoration:underline;font-family:inherit;
}

.btn{
  width:100%;margin-top:1rem;padding:.95rem 1rem;border:0;border-radius:10px;
  background:var(--lamp);color:#2a1904;font:inherit;font-weight:800;font-size:1rem;
  cursor:pointer;transition:filter .15s ease,transform .06s ease;
}
.btn:hover:not(:disabled){filter:brightness(1.07)}
.btn:active:not(:disabled){transform:translateY(1px)}
.btn:disabled{opacity:.35;cursor:not-allowed}
.btn.busy{color:transparent;position:relative}
.btn.busy::after{
  content:'';position:absolute;inset:0;margin:auto;width:17px;height:17px;border-radius:50%;
  border:2px solid rgba(42,25,4,.3);border-top-color:#2a1904;animation:spin .7s linear infinite;
}
@keyframes spin{to{transform:rotate(360deg)}}

form{display:flex;flex-direction:column;gap:.75rem}
.row{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}
@media(max-width:420px){.row{grid-template-columns:1fr}}
label{display:flex;flex-direction:column;gap:.32rem;font-size:.8rem;color:var(--muted);font-weight:600}
input,select{
  font:inherit;font-size:.95rem;color:var(--ink);
  background:var(--night);border:1px solid var(--edge);border-radius:9px;padding:.7rem .8rem;
}
input:focus,select:focus{outline:none;border-color:var(--lamp)}
select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--muted) 50%),linear-gradient(135deg,var(--muted) 50%,transparent 50%);background-position:calc(100% - 18px) 55%,calc(100% - 13px) 55%;background-size:5px 5px,5px 5px;background-repeat:no-repeat}

.lede{color:var(--ink);margin:0 0 1rem;font-size:.95rem}
.note{color:var(--muted);font-size:.82rem;margin:.85rem 0 0}
.fine{color:var(--muted);font-size:.74rem;margin:.2rem 0 0;text-align:center}
.err{color:var(--bad);font-size:.85rem;margin:.2rem 0 0}
.hidden{display:none}

#step-done{text-align:center}
.tick{font-size:2rem;color:var(--lamp);margin-bottom:.4rem;text-shadow:0 0 22px rgba(240,169,75,.5)}
h2{font-size:1.4rem;margin:0 0 .6rem;letter-spacing:-.02em}
.callme{margin:1rem 0 0;font-size:.9rem;color:var(--muted)}
.callme a{color:var(--lamp);font-weight:700}

.foot{
  display:flex;flex-direction:column;align-items:center;gap:.2rem;
  color:var(--muted);font-size:.74rem;text-align:center;margin-top:1.4rem;
}
:focus-visible{outline:2px solid var(--lamp);outline-offset:2px}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* Optional fields are labelled as optional right on the label, not just implied by a missing
   asterisk. A form that looks short gets finished; a form that looks like an interrogation does
   not. The divider line says out loud that the required part is already done. */
.opt-head{
  color:var(--muted);font-size:.8rem;margin:.35rem 0 -.15rem;
  padding-top:.85rem;border-top:1px solid var(--edge);
}
.opt{
  font-size:.66rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;
  color:var(--muted);opacity:.75;margin-left:.35rem;
}
input::placeholder{color:#5d708c;opacity:1}

.lbl{display:block}
