:root{
  --bg:#121214;
  --panel:#17171a;
  --panel2:#1f1f24;

  --text:#F5EEE3;       /* creme */
  --muted:rgba(245,238,227,.74);

  --rose:#C58AA0;       /* altrosa */
  --rose2:#E6B8C8;

  --stroke:rgba(245,238,227,.12);
  --shadow:0 18px 50px rgba(0,0,0,.45);

  --r:18px;
  --r2:26px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial;
  background:
    radial-gradient(900px 900px at 18% -10%, rgba(197,138,160,.22), transparent 55%),
    radial-gradient(900px 900px at 110% 0%, rgba(245,238,227,.08), transparent 45%),
    linear-gradient(180deg,#0f0f12,var(--bg));
  color:var(--text);
}

.topbar{
  position:sticky;top:0;z-index:20;
  backdrop-filter:blur(10px);
  background:rgba(18,18,20,.68);
  border-bottom:1px solid rgba(245,238,227,.10);
  display:flex;align-items:center;justify-content:space-between;
  padding:12px 14px;
}

.brand{display:flex;align-items:center;gap:10px;min-width:0}
.mark{
  width:42px;height:42px;border-radius:14px;
  display:grid;place-items:center;
  border:1px solid rgba(245,238,227,.14);
  background:linear-gradient(180deg,rgba(197,138,160,.25),rgba(245,238,227,.10));
}
.brand-text{min-width:0}
.brand-title{font-weight:900;letter-spacing:.2px}
.brand-sub{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.top-actions{display:flex;gap:10px}

.wrap{max-width:980px;margin:0 auto;padding:18px 14px 28px}

.card{
  background:linear-gradient(180deg,rgba(23,23,26,.98),rgba(23,23,26,.90));
  border:1px solid rgba(245,238,227,.10);
  border-radius:var(--r2);
  box-shadow:var(--shadow);
}
.pad{padding:18px}

.hero{padding:22px 18px}
.kicker{
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;
  letter-spacing:3px;text-transform:uppercase;font-size:12px;
  color:rgba(245,238,227,.72);
}
.h1{
  margin:14px 0 10px;
  font-size:clamp(28px,5vw,44px);
  line-height:1.05;
  letter-spacing:-.9px;
}
.accent{color:var(--rose2)}
.lead{margin:0;color:rgba(245,238,227,.82);font-size:16px;max-width:70ch}

.pills{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 16px}
.pill{
  padding:9px 12px;border-radius:999px;
  border:1px solid rgba(245,238,227,.12);
  background:rgba(31,31,36,.65);
  font-size:13px;color:rgba(245,238,227,.86);
}

.hero-cta{display:grid;grid-template-columns:1fr;gap:10px;margin-top:10px}
@media (min-width:520px){
  .hero-cta{grid-template-columns:1fr 1fr}
}
.note{margin-top:12px;color:rgba(245,238,227,.68);font-size:13px;line-height:1.6}

.grid{display:grid;grid-template-columns:1fr;gap:14px;margin-top:14px}
@media (min-width:880px){
  .grid{grid-template-columns:1fr 1fr}
}

.h2{margin:0 0 10px;font-size:18px;letter-spacing:.2px}
.h3{margin:0 0 8px;font-size:15px}
.label{
  display:block;margin-top:12px;margin-bottom:7px;
  color:rgba(245,238,227,.82);
  font-size:12px;letter-spacing:1.3px;text-transform:uppercase;
}

.input,.select,.textarea{
  width:100%;
  border-radius:14px;
  border:1px solid rgba(245,238,227,.14);
  background:rgba(31,31,36,.70);
  color:var(--text);
  padding:12px 12px;
  outline:none;
}
.input::placeholder{color:rgba(245,238,227,.45)}
.input:focus,.select:focus,.textarea:focus{
  border-color:rgba(197,138,160,.45);
  box-shadow:0 0 0 4px rgba(197,138,160,.12);
}
.select{appearance:none}

.row{display:flex;gap:10px;margin-top:14px}
.two{display:grid;grid-template-columns:1fr;gap:10px;margin-top:12px}
@media (min-width:520px){
  .two{grid-template-columns:1fr 1fr}
}

.btn{
  border:1px solid rgba(245,238,227,.14);
  background:rgba(31,31,36,.70);
  color:rgba(245,238,227,.92);
  padding:11px 12px;border-radius:14px;
  font-weight:900;cursor:pointer;
  width:100%;
  text-decoration:none;
  display:inline-flex;align-items:center;justify-content:center;
}
.btn:hover{border-color:rgba(245,238,227,.25)}
.btn.primary{
  background:linear-gradient(180deg,rgba(197,138,160,.92),rgba(197,138,160,.68));
  border-color:rgba(197,138,160,.55);
  color:#141417;
}
.btn.ghost{background:transparent}

.hint{margin-top:12px;color:rgba(245,238,227,.70);font-size:13px}
.hint.small{font-size:12px;color:rgba(245,238,227,.60)}

.output{margin-top:14px}
.out-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.status{
  font-size:12px;
  color:rgba(245,238,227,.70);
  padding:8px 10px;
  border:1px solid rgba(245,238,227,.12);
  background:rgba(31,31,36,.55);
  border-radius:999px;
  white-space:nowrap;
}

.textarea{
  min-height:260px;
  resize:vertical;
  margin-top:10px;
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;
  font-size:13.5px;line-height:1.5;
}

.divider{height:1px;background:rgba(245,238,227,.10);margin:18px 0}

.upsell{
  border:1px solid rgba(197,138,160,.26);
  background:linear-gradient(180deg,rgba(197,138,160,.14),rgba(31,31,36,.55));
  border-radius:var(--r);
  padding:14px;
}
.muted{margin:0 0 10px;color:var(--muted);font-size:13.5px;line-height:1.7}

.prebox{
  margin:10px 0 0;
  padding:12px;
  border-radius:14px;
  border:1px solid rgba(245,238,227,.12);
  background:rgba(31,31,36,.55);
  white-space:pre-wrap;
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;
  font-size:13.5px;
  line-height:1.5;
}

.cards{display:grid;grid-template-columns:1fr;gap:10px}
@media (min-width:700px){
  .cards{grid-template-columns:1fr 1fr}
}
.bp{
  border-radius:var(--r);
  border:1px solid rgba(245,238,227,.12);
  background:rgba(31,31,36,.55);
  padding:12px;
}
.bp-title{font-weight:950;letter-spacing:.2px}
.bp-line{margin-top:6px;color:rgba(245,238,227,.82);font-size:13px;line-height:1.5}
.bp-line strong{color:var(--rose2)}

.foot{
  margin-top:16px;
  display:flex;align-items:flex-end;justify-content:space-between;
  gap:14px;flex-wrap:wrap;
  color:rgba(245,238,227,.65);
}
.foot-kicker{
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;
  letter-spacing:2px;text-transform:uppercase;font-size:12px;
}
.foot-copy{margin-top:6px;font-size:13px}
.link{
  color:rgba(245,238,227,.88);
  text-decoration:none;
  border-bottom:1px solid rgba(245,238,227,.25);
}
.link:hover{border-bottom-color:rgba(197,138,160,.7)}

.toast{
  position:fixed;bottom:14px;left:50%;
  transform:translateX(-50%);
  background:rgba(23,23,26,.92);
  border:1px solid rgba(245,238,227,.12);
  padding:10px 12px;border-radius:14px;
  box-shadow:var(--shadow);
  color:rgba(245,238,227,.92);
  font-size:13px;
  opacity:0;pointer-events:none;
  transition:opacity .2s ease;
  max-width:min(520px,92vw);
}
.toast.show{opacity:1}

@media print{
  body{background:#fff;color:#111}
  .topbar,.toast,.foot-right,#btnShare,#btnInstall{display:none !important}
  .card{box-shadow:none;border:1px solid #ddd;background:#fff}
  .textarea,.prebox{font-family:Menlo,Consolas,monospace}
}
