/* Layout: una sola página con dos vistas (landing y contratación) por hash; bandas a todo lo ancho con contenido a 1200px; asistente con pasos a la izquierda y resumen fijo a la derecha.
   Look deliberado de un solo tema (claro), con bandas oscuras: el logo trae letras negras. */
:root{
  --bg:#F6F4F1; --surface:#FFFFFF; --ink:#231F20; --muted:#5B585D; --line:#E3DFD9; --line-strong:#C9C4BC;
  --orange:#FE5E00; --orange-text:#B94300; --orange-soft:#FFF0E6;
  --dark:#231F20; --dark-2:#2F2A2B; --on-dark:#F3EFEA; --on-dark-muted:#B8B1AA; --term-ok:#7BD88F; --term-hi:#FF8A4C;
  --ok:#1C7F52; --ok-soft:#E5F3EC; --err:#B8261B; --err-soft:#FBEAE8;
  --f-display:'Lexend', 'Archivo', system-ui, sans-serif;
  --f-body:'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono:'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --r:10px;
  color-scheme: light;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{background:var(--bg);color:var(--ink);font-family:var(--f-body);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}
body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);z-index:60;background:var(--bg)}
h1,h2,h3{font-family:var(--f-display);text-wrap:balance;margin:0;letter-spacing:-0.02em}
p{margin:0}
a{color:var(--orange-text)}
button,input,select{font:inherit;color:inherit}
:focus-visible{outline:3px solid var(--orange);outline-offset:2px}
.wrap{max-width:1200px;margin:0 auto;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
.mono{font-family:var(--f-mono)}
.eyebrow{font-family:var(--f-mono);font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 22px;border-radius:999px;border:1.5px solid transparent;font-weight:600;font-size:16px;cursor:pointer;text-decoration:none;transition:transform .15s ease, background-color .15s ease, box-shadow .15s ease;white-space:nowrap}
.btn:active{transform:translateY(1px)}
.btn-primary{background:var(--orange);color:var(--ink)}
.btn-primary:hover{background:#FF7424;box-shadow:0 6px 18px -8px rgba(254,94,0,.7)}
.btn-dark{background:var(--ink);color:var(--on-dark)}
.btn-dark:hover{background:#3A3435}
.btn-ghost{background:transparent;border-color:var(--ink);color:var(--ink)}
.btn-ghost:hover{background:var(--surface)}
.btn-light{background:var(--on-dark);color:var(--ink)}
.btn[disabled]{opacity:.45;cursor:not-allowed;box-shadow:none}
.btn-sm{min-height:40px;padding:0 16px;font-size:15px}

/* NAV */
.nav{position:sticky;top:env(safe-area-inset-top,0px);z-index:50;background:color-mix(in srgb,var(--bg) 92%,transparent);backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid var(--line)}
.nav .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:72px}
.logo{display:block;height:40px;width:auto}
.nav-links{display:flex;gap:4px;align-items:center}
.nav-links button{background:none;border:0;padding:10px 14px;border-radius:999px;font-weight:500;font-size:15px;cursor:pointer;color:var(--ink)}
.nav-links button:hover{background:var(--surface)}
.nav-right{display:flex;gap:10px;align-items:center}
.menu-btn{display:none;width:44px;height:44px;border-radius:999px;border:1.5px solid var(--line-strong);background:var(--surface);cursor:pointer;align-items:center;justify-content:center}
@media (max-width:900px){
  .nav-links{display:none;position:absolute;left:0;right:0;top:100%;flex-direction:column;align-items:stretch;background:var(--bg);border-bottom:1px solid var(--line);padding:8px max(16px,env(safe-area-inset-left,0px)) 16px}
  .nav-links.open{display:flex}
  .nav-links button{text-align:left;padding:14px 12px;font-size:17px}
  .menu-btn{display:inline-flex}
  .nav-right .btn-ghost{display:none}
  .logo{height:34px}
}

/* HERO */
.hero{padding-block:72px 64px}
.hero .wrap{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:56px;align-items:center}
.hero h1{font-size:clamp(40px,6vw,70px);line-height:1;font-weight:800;margin-block:18px 22px}
.hero h1 em{font-style:normal;color:var(--orange)}
.hero .lead{font-size:clamp(17px,1.6vw,20px);color:#3E3B3F;max-width:34em}
.hero .ctas{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}
.hero .trust{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:28px;font-size:14px;color:var(--muted)}
.hero .trust span{display:inline-flex;gap:8px;align-items:center}
@media (max-width:900px){.hero .wrap{grid-template-columns:1fr;gap:40px}.hero{padding-block:44px 48px}}

/* terminal */
.term{background:var(--dark);color:var(--on-dark);border-radius:14px;font-family:var(--f-mono);font-size:14px;line-height:1.85;box-shadow:14px 14px 0 var(--orange);overflow:hidden;min-width:0}
.term-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 18px;border-bottom:1px solid #3A3435;color:var(--on-dark-muted);font-size:12px}
.term-dots{display:flex;gap:6px}.term-dots i{width:10px;height:10px;border-radius:50%;background:#4A4344;display:block}
.term-body{padding:20px 22px 24px;min-height:300px;overflow-x:auto}
.term-line{white-space:pre;opacity:0;transform:translateY(4px);transition:opacity .3s ease, transform .3s ease}
.term-line.on{opacity:1;transform:none}
.t-ok{color:var(--term-ok)}.t-hi{color:var(--term-hi)}.t-mut{color:var(--on-dark-muted)}.t-strong{color:#FFFFFF;font-weight:500}

/* strip */
.strip{border-block:1px solid var(--line);background:#EFECE7}
.strip .wrap{display:flex;flex-wrap:wrap;gap:10px 32px;padding-block:18px;font-family:var(--f-mono);font-size:13px;color:#47444A}
.strip b{color:var(--ink);font-weight:500}

/* sections */
.section{padding-block:96px 32px}
.sec-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:20px 40px;margin-bottom:40px}
.sec-head h2{font-size:clamp(32px,4vw,48px);line-height:1.04;font-weight:800;margin-top:12px;max-width:16em}
.sec-head p{max-width:24em;color:#3E3B3F;font-size:17px}
@media (max-width:700px){.section{padding-block:64px 16px}}

/* systems */
.sys-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
.sys-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:26px 24px 22px;display:flex;flex-direction:column;gap:14px;transition:border-color .2s, transform .2s}
.sys-card:hover{border-color:var(--ink);transform:translateY(-3px)}
.sys-top{display:flex;justify-content:space-between;align-items:center}
.sys-icon{width:44px;height:44px;border-radius:12px;background:var(--orange-soft);color:var(--orange-text);display:flex;align-items:center;justify-content:center}
.chip{font-family:var(--f-mono);font-size:12px;padding:4px 10px;border-radius:999px;background:var(--ink);color:var(--on-dark)}
.sys-card h3{font-size:22px;font-weight:700}
.sys-card p{color:#3E3B3F;font-size:15px}
.feat{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;font-size:15px}
.feat li{display:flex;gap:10px;align-items:flex-start}
.feat svg{flex:none;margin-top:3px;color:var(--orange)}
.sys-foot{margin-top:auto;padding-top:12px;display:flex;justify-content:space-between;align-items:center;gap:8px;border-top:1px solid var(--line)}
.sys-foot .from{font-size:14px;color:var(--muted)}
.sys-foot .from b{color:var(--ink);font-size:17px;font-family:var(--f-display)}

/* pricing */
.toggle{display:inline-flex;padding:4px;border-radius:999px;background:var(--surface);border:1px solid var(--line-strong);gap:4px}
.toggle button{border:0;background:transparent;min-height:42px;padding:0 18px;border-radius:999px;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;gap:8px;font-size:15px}
.toggle button[aria-pressed="true"]{background:var(--ink);color:var(--on-dark)}
.save{font-family:var(--f-mono);font-size:12px;padding:2px 8px;border-radius:999px;background:var(--orange);color:var(--ink)}
.price-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}
.price-card{background:var(--surface);border:1.5px solid var(--line);border-radius:16px;padding:26px 24px;display:flex;flex-direction:column;gap:10px;position:relative}
.price-card.featured{background:var(--dark);color:var(--on-dark);border-color:var(--dark);box-shadow:10px 10px 0 var(--orange)}
.price-card .badge{position:absolute;top:-12px;left:22px;font-family:var(--f-mono);font-size:12px;background:var(--orange);color:var(--ink);padding:4px 10px;border-radius:999px}
.price-card h3{font-size:20px;font-weight:700}
.price-card .short{font-size:15px;color:var(--muted);min-height:3em}
.price-card.featured .short,.price-card.featured .note{color:var(--on-dark-muted)}
.amount{display:flex;align-items:baseline;gap:6px;margin-top:6px;font-variant-numeric:tabular-nums}
.amount b{font-family:var(--f-display);font-size:40px;font-weight:800;letter-spacing:-.03em}
.amount span{font-size:15px;color:var(--muted)}
.price-card.featured .amount span{color:var(--on-dark-muted)}
.note{font-family:var(--f-mono);font-size:12px;color:var(--muted);min-height:1.5em}
.price-card ul{list-style:none;margin:8px 0 0;padding:16px 0 0;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:9px;font-size:15px}
.price-card.featured ul{border-color:#433C3D}
.price-card li{display:flex;gap:10px}
.price-card li svg{flex:none;margin-top:3px;color:var(--orange)}
.price-card .btn{margin-top:16px;width:100%}
.fineprint{margin-top:18px;font-size:14px;color:var(--muted)}

/* steps band */
.band{background:var(--dark);color:var(--on-dark);margin-top:80px}
.band .wrap{padding-block:96px}
.band .eyebrow{color:var(--on-dark-muted)}
.band h2{font-size:clamp(32px,4vw,48px);line-height:1.04;font-weight:800;margin:12px 0 48px;max-width:15em}
.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;counter-reset:s}
.steps li{padding:26px 22px 8px 0;border-top:1px solid #4A4344;display:flex;flex-direction:column;gap:10px;position:relative}
.steps li::before{content:"";position:absolute;top:-5px;left:0;width:9px;height:9px;border-radius:50%;background:var(--orange)}
.steps .n{font-family:var(--f-mono);font-size:13px;color:var(--term-hi)}
.steps h3{font-size:19px;font-weight:700}
.steps p{font-size:15px;color:var(--on-dark-muted)}
@media (max-width:900px){.steps{grid-template-columns:1fr 1fr;gap:0 24px}}
@media (max-width:520px){.steps{grid-template-columns:1fr}}
.band .ctas{display:flex;flex-wrap:wrap;gap:16px;align-items:center;margin-top:48px}
.band .ctas span{font-family:var(--f-mono);font-size:13px;color:var(--on-dark-muted)}

/* custom */
.custom{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:48px;align-items:start}
.custom h2{font-size:clamp(32px,4vw,48px);line-height:1.04;font-weight:800;margin:12px 0 18px}
.custom p.lead{font-size:18px;color:#3E3B3F;margin-bottom:28px}
.svc{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.svc div{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:22px}
.svc h3{font-size:18px;font-weight:700;margin-bottom:6px}
.svc p{font-size:15px;color:var(--muted)}
@media (max-width:900px){.custom{grid-template-columns:1fr}}
@media (max-width:480px){.svc{grid-template-columns:1fr}}

/* faq */
.faq{max-width:820px}
.faq details{border-bottom:1px solid var(--line-strong)}
.faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:16px;align-items:center;padding:22px 0;font-weight:600;font-size:18px;font-family:var(--f-display)}
.faq summary::-webkit-details-marker{display:none}
.faq summary .pm{flex:none;width:32px;height:32px;border-radius:50%;border:1.5px solid var(--line-strong);display:flex;align-items:center;justify-content:center;transition:transform .2s, background-color .2s}
.faq details[open] summary .pm{transform:rotate(45deg);background:var(--orange);border-color:var(--orange)}
.faq details p{padding:0 48px 22px 0;color:#3E3B3F}

footer{border-top:1px solid var(--line);margin-top:96px}
footer .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;padding-block:32px 40px;font-size:14px;color:var(--muted)}
footer nav{display:flex;flex-wrap:wrap;gap:20px}
footer a{color:var(--muted)}

/* ===== CHECKOUT ===== */
.co-top{position:sticky;top:env(safe-area-inset-top,0px);z-index:50;background:var(--bg);border-bottom:1px solid var(--line)}
.co-top .wrap{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:68px}
.co-top .back-link{background:none;border:0;cursor:pointer;display:inline-flex;align-items:center;gap:8px;font-weight:500;min-height:44px;padding:0 8px;border-radius:999px;color:var(--ink)}
.co-top .back-link:hover{background:var(--surface)}
.secure{display:inline-flex;gap:8px;align-items:center;font-size:13px;color:var(--muted)}
.bar{height:4px;background:var(--line)}
.bar i{display:block;height:100%;background:var(--orange);width:20%;transition:width .4s ease}
.co{display:grid;grid-template-columns:230px minmax(0,1fr) 320px;gap:40px;padding-block:40px 80px;align-items:start}
.stepper{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px;position:sticky;top:110px}
.stepper li{display:flex;gap:12px;align-items:center;padding:10px 12px;border-radius:12px;color:var(--muted)}
.stepper .dot{width:30px;height:30px;flex:none;border-radius:50%;border:1.5px solid var(--line-strong);display:flex;align-items:center;justify-content:center;font-family:var(--f-mono);font-size:13px;background:var(--bg)}
.stepper li.cur{background:var(--surface);color:var(--ink)}
.stepper li.cur .dot{background:var(--orange);border-color:var(--orange);color:var(--ink)}
.stepper li.done{color:var(--ink)}
.stepper li.done .dot{background:var(--ink);border-color:var(--ink);color:var(--on-dark)}
.stepper .lbl{display:flex;flex-direction:column;line-height:1.25}
.stepper .lbl b{font-weight:600;font-size:15px}
.stepper .lbl small{font-size:13px;color:var(--muted)}
.panel h1{font-size:clamp(28px,3.4vw,40px);font-weight:800;line-height:1.05}
.panel .sub{color:#3E3B3F;font-size:17px;margin:10px 0 28px}
.opts{display:flex;flex-direction:column;gap:10px}
.opt{display:flex;align-items:center;gap:16px;padding:16px 18px;background:var(--surface);border:1.5px solid var(--line);border-radius:14px;cursor:pointer;text-align:left;width:100%;transition:border-color .15s, box-shadow .15s}
.opt:hover{border-color:var(--line-strong)}
.opt[aria-checked="true"]{border-color:var(--orange);box-shadow:0 0 0 3px var(--orange-soft)}
.radio{width:22px;height:22px;border-radius:50%;border:1.5px solid #8A8580;flex:none;transition:border-width .15s,border-color .15s}
.opt[aria-checked="true"] .radio{border:7px solid var(--orange)}
.opt .txt{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}
.opt .txt b{font-family:var(--f-display);font-size:18px;font-weight:700}
.opt .txt small{font-size:14px;color:var(--muted)}
.opt .pr{font-family:var(--f-display);font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
.field{display:flex;flex-direction:column;gap:7px}
.field label,.field .lab{font-weight:600;font-size:15px}
.field .help{font-size:13px;color:var(--muted)}
.input{min-height:50px;padding:0 14px;border:1.5px solid var(--line-strong);border-radius:12px;background:var(--surface);font-size:16px;width:100%;transition:border-color .15s, box-shadow .15s}
.input:focus{outline:none;border-color:var(--ink);box-shadow:0 0 0 3px var(--orange-soft)}
.input.bad{border-color:var(--err);background:var(--err-soft)}
.err{font-size:13px;color:var(--err);min-height:0}
.err:empty{display:none}
.slug-row{display:flex;align-items:stretch;border:1.5px solid var(--line-strong);border-radius:12px;overflow:hidden;background:var(--surface)}
.slug-row:focus-within{border-color:var(--ink);box-shadow:0 0 0 3px var(--orange-soft)}
.slug-row input{border:0;flex:1;min-width:0;padding:0 12px;min-height:50px;font-family:var(--f-mono);font-size:15px;background:transparent}
.slug-row input:focus{outline:none}
.slug-row span{display:flex;align-items:center;padding:0 12px;background:#F1EEE9;color:var(--muted);font-family:var(--f-mono);font-size:14px;white-space:nowrap}
.avail{font-size:13px;display:inline-flex;gap:6px;align-items:center}
.avail.ok{color:var(--ok)}.avail.wait{color:var(--muted)}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.form-grid .full{grid-column:1/-1}
@media (max-width:560px){.form-grid{grid-template-columns:1fr}}
.drop{border:1.5px dashed #8A8580;border-radius:14px;background:var(--surface);padding:22px;display:flex;align-items:center;gap:18px;cursor:pointer;transition:border-color .15s, background-color .15s}
.drop:hover,.drop.over{border-color:var(--orange);background:var(--orange-soft)}
.drop .thumb{width:64px;height:64px;border-radius:12px;background:#F1EEE9;display:flex;align-items:center;justify-content:center;flex:none;overflow:hidden;color:var(--muted)}
.drop .thumb img{width:100%;height:100%;object-fit:contain}
.drop b{display:block}
.drop small{color:var(--muted);font-size:13px}
.swatches{display:flex;flex-wrap:wrap;gap:10px}
.sw{width:44px;height:44px;border-radius:50%;border:3px solid var(--bg);box-shadow:0 0 0 1.5px var(--line-strong);cursor:pointer}
.sw[aria-checked="true"]{box-shadow:0 0 0 2.5px var(--ink)}
.sw-custom{display:flex;align-items:center;justify-content:center;background:conic-gradient(#FE5E00,#E8B400,#1C7F52,#1F5BD8,#7A3FD1,#D6336C,#FE5E00);position:relative;overflow:hidden}
.sw-custom input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}
.actions{display:flex;justify-content:space-between;gap:12px;margin-top:32px;flex-wrap:wrap}
.paybox{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:22px;display:flex;flex-direction:column;gap:16px}
.demo-note{display:flex;gap:10px;align-items:flex-start;background:var(--orange-soft);color:#6A2A00;border-radius:12px;padding:12px 14px;font-size:14px}
.methods{display:flex;gap:8px;flex-wrap:wrap}
.methods button{min-height:44px;padding:0 16px;border-radius:999px;border:1.5px solid var(--line-strong);background:var(--surface);cursor:pointer;font-weight:600;font-size:14px}
.methods button[aria-pressed="true"]{border-color:var(--ink);background:var(--ink);color:var(--on-dark)}
.spinner{width:18px;height:18px;border-radius:50%;border:2.5px solid rgba(35,31,32,.25);border-top-color:var(--ink);animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}

.summary{position:sticky;top:110px;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:22px;display:flex;flex-direction:column;gap:14px}
.summary .eyebrow{font-size:12px}
.sum-sys{display:flex;gap:12px;align-items:center}
.sum-sys .sys-icon{width:40px;height:40px}
.sum-sys b{font-family:var(--f-display);font-size:18px;display:block}
.sum-sys small{color:var(--muted);font-size:14px}
.sum-rows{display:flex;flex-direction:column;gap:8px;font-size:14px;border-top:1px solid var(--line);padding-top:14px}
.sum-rows div{display:flex;justify-content:space-between;gap:12px}
.sum-rows span:first-child{color:var(--muted)}
.sum-rows .mono{font-size:13px;text-align:right;word-break:break-all}
.sum-total{display:flex;justify-content:space-between;align-items:baseline;border-top:1px solid var(--line);padding-top:14px;font-variant-numeric:tabular-nums}
.sum-total b{font-family:var(--f-display);font-size:24px}
.sum-mini{display:flex;align-items:center;gap:10px;padding:10px;border-radius:12px;background:#F6F4F1}
.sum-mini .mk{width:34px;height:34px;border-radius:9px;display:flex;align-items:center;justify-content:center;font-weight:800;font-family:var(--f-display);overflow:hidden;flex:none}
.sum-mini .mk img{width:100%;height:100%;object-fit:contain;background:#fff}
.sum-mini span{font-weight:600;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

@media (max-width:1100px){.co{grid-template-columns:minmax(0,1fr) 300px}.stepper{display:none}}
@media (max-width:820px){.co{grid-template-columns:1fr;gap:24px;padding-block:24px 64px}.summary{position:static;order:-1}}
.mobile-step{display:none;font-family:var(--f-mono);font-size:13px;color:var(--muted);margin-bottom:10px}
@media (max-width:1100px){.mobile-step{display:block}}

/* install */
.install .term{box-shadow:none;border-radius:16px}
.install .term-body{min-height:0}
.task{display:flex;gap:14px;align-items:flex-start;padding:5px 0;color:#7E7770;transition:color .2s}
.task .st{width:22px;flex:none;display:flex;justify-content:center;padding-top:5px}
.task .st i{width:8px;height:8px;border-radius:50%;background:#4A4344;display:block}
.task.run{color:#FFFFFF}
.task.run .st i{background:var(--term-hi);animation:pulse 1s ease-in-out infinite}
.task.done{color:var(--on-dark)}
.task .tx{display:flex;flex-direction:column;min-width:0}
.task small{color:#8F8881;font-size:12px;word-break:break-all}
@keyframes pulse{50%{transform:scale(1.6);opacity:.5}}
.prog{height:6px;background:#3A3435}
.prog i{display:block;height:100%;width:0;background:var(--term-ok);transition:width .5s ease}
.pct{font-variant-numeric:tabular-nums}

/* done */
.done-hero{display:flex;flex-direction:column;gap:12px;margin-bottom:28px}
.done-hero .check{width:56px;height:56px;border-radius:50%;background:var(--ok);color:#fff;display:flex;align-items:center;justify-content:center}
.creds{background:var(--surface);border:1.5px solid var(--ink);border-radius:16px;box-shadow:10px 10px 0 var(--orange);overflow:hidden}
.cred{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 20px;border-bottom:1px solid var(--line)}
.cred:last-child{border-bottom:0}
.cred small{display:block;color:var(--muted);font-size:13px}
.cred .mono{font-size:15px;word-break:break-all}
.copy{min-height:40px;padding:0 14px;border-radius:999px;border:1.5px solid var(--line-strong);background:var(--surface);cursor:pointer;font-weight:600;font-size:14px;flex:none}
.copy.ok{border-color:var(--ok);color:var(--ok)}

/* app preview */
.app{border:1px solid var(--line-strong);border-radius:16px;overflow:hidden;background:#F7F7F8;display:grid;grid-template-columns:210px minmax(0,1fr);min-height:520px}
.app-side{color:#fff;padding:18px 14px;display:flex;flex-direction:column;gap:6px}
.app-brand{display:flex;gap:10px;align-items:center;padding:4px 6px 18px}
.app-brand .mk{width:38px;height:38px;border-radius:10px;background:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;overflow:hidden;flex:none;font-family:var(--f-display)}
.app-brand .mk img{width:100%;height:100%;object-fit:contain}
.app-brand b{font-size:15px;line-height:1.2}
.app-nav{background:none;border:0;color:inherit;text-align:left;padding:10px 12px;border-radius:10px;font-size:14px;font-weight:500;cursor:pointer;opacity:.85}
.app-nav.on,.app-nav:hover{background:rgba(255,255,255,.18);opacity:1}
.app-main{padding:22px 24px;display:flex;flex-direction:column;gap:18px;min-width:0;color:#1E1E22}
.app-main h3{font-size:22px}
.kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.kpi{background:#fff;border:1px solid #E4E4E8;border-radius:12px;padding:14px}
.kpi small{color:#5E5E66;font-size:13px}
.kpi b{display:block;font-family:var(--f-display);font-size:26px}
.empty{background:#fff;border:1px dashed #C9C9D0;border-radius:12px;padding:28px;text-align:center;display:flex;flex-direction:column;gap:10px;align-items:center}
.empty p{color:#5E5E66;font-size:14px;max-width:30em}
.app-btn{border:0;border-radius:10px;padding:0 16px;min-height:42px;font-weight:600;cursor:pointer}
@media (max-width:640px){.app{grid-template-columns:1fr}.app-side{flex-direction:row;flex-wrap:wrap;align-items:center}.app-brand{padding:4px 6px;width:100%}.kpis{grid-template-columns:1fr}}

.toast{position:fixed;left:50%;bottom:calc(24px + env(safe-area-inset-bottom,0px));transform:translate(-50%,20px);background:var(--ink);color:var(--on-dark);padding:12px 18px;border-radius:999px;font-size:14px;opacity:0;pointer-events:none;transition:.25s;z-index:80}
.toast.on{opacity:1;transform:translate(-50%,0)}
.fade-in{animation:fade .35s ease both}
@keyframes fade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.term-line{opacity:1;transform:none}}

/* ===== Añadidos de la versión real ===== */
.nav-links a{display:inline-flex;align-items:center;padding:10px 14px;border-radius:999px;font-weight:500;font-size:15px;color:var(--ink);text-decoration:none}
.nav-links a:hover{background:var(--surface)}
@media (max-width:900px){.nav-links a{padding:14px 12px;font-size:17px}}
.h-sm{font-size:19px;font-weight:700;margin:32px 0 12px}
.opt .pr small{font-weight:400;color:var(--muted);font-size:13px}
.opt-l{font-weight:400;color:var(--muted)}
.slug-sel{border:0;border-left:1px solid var(--line);background:#F1EEE9;color:var(--ink);font-family:var(--f-mono);font-size:14px;padding:0 10px;min-height:50px;max-width:55%;cursor:pointer}
.slug-sel:disabled{cursor:default;opacity:1;-webkit-appearance:none;appearance:none}
.slug-sel:focus{outline:none}
.avail.bad-t{color:var(--err)}
.link-btn{background:none;border:0;padding:0 4px;color:var(--orange-text);font-weight:600;text-decoration:underline;cursor:pointer;font-size:13px}
.spinner.sm{width:12px;height:12px;border-width:2px;display:inline-block;vertical-align:-1px}
.check-row{display:flex;gap:12px;align-items:flex-start;cursor:pointer;font-size:15px}
.check-row input{width:20px;height:20px;margin-top:2px;accent-color:var(--orange);flex:none}
.check-row small{display:block;color:var(--muted);font-size:13px;margin-top:2px;font-weight:400}
.custom-box{margin-top:12px;padding:16px;border-radius:14px;background:var(--surface);border:1px solid var(--line);display:flex;flex-direction:column;gap:8px}
.custom-box label{font-weight:600;font-size:15px}
.review{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:6px 20px;margin-bottom:20px}
.review>div{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--line);font-size:15px}
.review>div>span:first-child{color:var(--muted)}
.review>div>span:last-child{text-align:right;word-break:break-word;min-width:0}
.review .rev-total{border-bottom:0;align-items:baseline}
.review .rev-total b{font-family:var(--f-display);font-size:24px;font-variant-numeric:tabular-nums}
#err-general{margin-top:12px;font-size:15px}
.order-wrap{max-width:820px;padding-block:48px 96px}
.order-wrap h1{font-size:clamp(28px,3.4vw,40px);font-weight:800;line-height:1.05;margin-top:10px}
.order-wrap .sub{color:#3E3B3F;font-size:17px;margin:12px 0 28px}
.pay-wait{display:flex;gap:12px;align-items:center;font-weight:500}
.task.warn{color:#F3D9C4}
.task.fail{color:#FF9A90}
.dns-box{margin-top:28px;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:22px}
.dns-box h2{font-size:20px;font-weight:700;margin-bottom:8px}
.dns-box p{color:#3E3B3F;font-size:15px}
.dns-table{margin-top:14px;border:1px solid var(--line);border-radius:12px;overflow-x:auto}
.dns-table>div{display:grid;grid-template-columns:70px 90px minmax(140px,1fr);gap:12px;padding:10px 14px;border-bottom:1px solid var(--line);font-size:14px;min-width:340px}
.dns-table>div:last-child{border-bottom:0}
.dns-table>div:first-child{background:#F6F4F1}
.help{font-size:13px;color:var(--muted)}

/* ===== Portal del cliente ===== */
.muted{color:var(--muted)}
.pt-nav{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.pt-nav a,.pt-nav button{background:none;border:0;padding:10px 14px;border-radius:999px;font-weight:500;font-size:15px;color:var(--ink);text-decoration:none;cursor:pointer;min-height:44px;display:inline-flex;align-items:center}
.pt-nav a:hover,.pt-nav button:hover{background:var(--surface)}
.pt-nav a.on{background:var(--ink);color:var(--on-dark)}
.pt-flash-wrap{padding-top:20px}
.pt-flash{padding:12px 16px;border-radius:12px;font-weight:500;font-size:15px;margin:0 0 14px}
.pt-flash.ok{background:var(--ok-soft);color:var(--ok)}
.pt-flash.err{background:var(--err-soft);color:var(--err)}
.pt-main{padding-block:32px 96px;display:flex;flex-direction:column;gap:20px}
.pt-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap}
.pt-head h1{font-size:clamp(28px,3.4vw,40px);font-weight:800;line-height:1.05;margin-top:8px}
.pt-head .sub{color:var(--muted);margin-top:8px}
.pt-back{margin:0}
.pt-back a{color:var(--muted);text-decoration:none;font-weight:500}
.pt-tip{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;background:var(--orange-soft);color:#5A2400;border-radius:14px;padding:14px 18px;font-size:15px}
.pt-tip.bad{background:var(--err-soft);color:#6E1A12}
.pt-empty{background:var(--surface);border:1px dashed var(--line-strong);border-radius:16px;padding:40px 24px;text-align:center;display:flex;flex-direction:column;gap:12px;align-items:center}
.pt-empty h2{font-size:22px;font-weight:700}
.pt-empty p{color:var(--muted);max-width:32em}
.pt-subs{display:flex;flex-direction:column;gap:10px}
.pt-sub{display:flex;align-items:center;gap:16px;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:16px 18px;text-decoration:none;color:var(--ink);transition:border-color .15s,transform .15s}
.pt-sub:hover{border-color:var(--ink);transform:translateY(-1px)}
.pt-sub-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.pt-sub-main b{font-family:var(--f-display);font-size:18px}
.pt-sub-main small,.pt-sub-meta small{color:var(--muted);font-size:13px;overflow:hidden;text-overflow:ellipsis}
.pt-sub-meta{display:flex;flex-direction:column;align-items:flex-end;gap:5px;text-align:right}
.pt-chev{color:var(--muted);flex:none}
@media (max-width:640px){.pt-sub{flex-wrap:wrap}.pt-sub-meta{align-items:flex-start;text-align:left;width:100%;padding-left:60px}.pt-chev{display:none}}
.st{display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:600;white-space:nowrap}
.st::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.st-ok{background:var(--ok-soft);color:var(--ok)}
.st-info{background:#EAF0FB;color:#1F4FB0}
.st-warn{background:#FFF4D6;color:#7A5000}
.st-bad{background:var(--err-soft);color:var(--err)}
.st-off{background:#EEEBE6;color:#5E5A5F}
.card{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:22px}
.card h2{font-size:18px;font-weight:700;margin:0 0 14px}
.pt-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
@media (max-width:820px){.pt-grid{grid-template-columns:1fr}}
.pt-kv{display:grid;grid-template-columns:150px minmax(0,1fr);gap:10px 16px;margin:0;font-size:15px}
.pt-kv dt{color:var(--muted)}
.pt-kv dd{margin:0;word-break:break-word}
@media (max-width:480px){.pt-kv{grid-template-columns:1fr;gap:2px}.pt-kv dd{margin-bottom:10px}}
.pt-table{overflow-x:auto}
.pt-table table{width:100%;border-collapse:collapse;font-size:14px;min-width:420px}
.pt-table th,.pt-table td{text-align:left;padding:10px 8px;border-bottom:1px solid var(--line)}
.pt-table th{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:600}
.pt-table .num{text-align:right;font-variant-numeric:tabular-nums}
.pt-danger summary{list-style:none;cursor:pointer}
.pt-danger summary::-webkit-details-marker{display:none}
.pt-danger summary h2{margin:0;color:var(--err)}
.pt-danger[open] summary{margin-bottom:12px}
.pt-danger p{color:#3E3B3F;margin-bottom:14px}
.pt-form{display:flex;flex-direction:column;gap:16px}
.pt-form .btn{align-self:flex-start}
.pt-auth{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px max(16px,env(safe-area-inset-left,0px))}
.pt-auth-card{width:100%;max-width:420px;background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:32px 28px}
.pt-auth-card h1{font-size:26px;font-weight:800;margin:20px 0 6px}
.pt-auth-card .sub{color:var(--muted);margin:0 0 20px}
.pt-auth-card .pt-form .btn{align-self:stretch}
.pt-auth-logo{height:36px;width:auto}
.pt-auth-foot{margin-top:18px;font-size:14px;color:var(--muted);text-align:center}
.tf-state.on{display:flex;gap:8px;align-items:center;color:var(--ok);font-weight:600}
.tf-actions{display:flex;flex-direction:column;gap:16px;margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}
.tf-inline{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end}
.tf-inline label{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:14px;flex:1;min-width:160px}
.tf-steps{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:18px}
.tf-steps li{padding-left:4px}
.tf-qr{width:200px;max-width:100%;margin:12px 0;background:#fff;border:1px solid var(--line);border-radius:12px;padding:8px}
.tf-qr svg{display:block;width:100%;height:auto}
.tf-code{font-size:22px;letter-spacing:.3em;max-width:220px}
.tf-codes{background:var(--orange-soft);border-radius:12px;padding:16px;margin-bottom:16px}
.tf-codes ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 20px;margin:12px 0;padding-left:22px;font-size:15px}
.vh-label{font-size:0 !important}

@media (max-width:900px){.nav-account{display:none}}

/* Instrucciones de dominio propio */
.dns-opt{border:1px solid var(--line);border-radius:14px;padding:16px 18px;margin-top:14px}
.dns-opt h3{font-size:16px;font-weight:700;margin:0 0 8px;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.dns-opt p{margin:0 0 8px}
.dns-tag{font-family:var(--f-mono);font-size:11px;font-weight:500;letter-spacing:.04em;text-transform:uppercase;background:var(--orange);color:var(--ink);padding:3px 8px;border-radius:999px}
.dns-tag.alt{background:#EEEBE6;color:#47444A}
.ns-list{margin:10px 0;padding-left:22px;display:grid;gap:4px;font-size:15px}

/* Cambio de plan */
#plan .pt-tip{margin-bottom:14px}
.pt-plan-row{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;padding:12px 0;border-top:1px solid var(--line)}
.pt-plan-sys{border-top:1px solid var(--line);padding-top:12px}
.pt-plan-sys summary{cursor:pointer;list-style:none}
.pt-plan-sys summary::after{content:" ▾";color:var(--muted)}
.pt-plan-form{display:grid;gap:12px;margin-top:12px}
.pt-plan-form label{display:grid;gap:6px;font-size:14px}
.pt-plan-form .btn{justify-self:start}
@media(min-width:720px){.pt-plan-sys .pt-plan-form{grid-template-columns:1fr 200px}.pt-plan-sys .pt-plan-form .help,.pt-plan-sys .pt-plan-form .btn{grid-column:1/-1}}

/* Soporte */
.tk-form{display:grid;gap:14px}
.tk-form label{display:grid;gap:6px;font-size:14px;font-weight:600}
.tk-form label small{font-weight:400}
.tk-form .btn{justify-self:start}
.tk-two{display:grid;gap:14px}
@media(min-width:720px){.tk-two{grid-template-columns:1fr 1fr}}
.tk-text{min-height:120px;padding:12px 14px;line-height:1.5;resize:vertical;font:inherit}
.tk-fileinput{padding:12px;min-height:0}
.tk-check{display:flex!important;align-items:center;gap:10px;font-weight:400!important}
.tk-thread{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.tk-msg{background:#F6F4F1;border-radius:14px;padding:14px 16px;max-width:88%}
.tk-msg.mine{align-self:flex-end;background:var(--orange-soft)}
.tk-msg.internal{background:#FFF8DB;border:1px dashed #D9B84A}
.tk-meta{font-size:13px;color:var(--muted);margin-bottom:6px}
.tk-meta b{color:var(--ink)}
.tk-int{color:#7A5000;font-weight:600}
.tk-body{line-height:1.55;word-break:break-word}
.tk-file{display:inline-flex;flex-direction:column;gap:6px;margin-top:10px;font-size:13px;text-decoration:none}
.tk-file img{max-width:240px;max-height:180px;border-radius:8px;border:1px solid var(--line);object-fit:cover}
.tk-sys{align-self:center;font-size:13px;color:var(--muted);text-align:center}
.pt-status{display:flex;flex-wrap:wrap;gap:10px 22px;align-items:center;font-size:14px}
.pt-status b{font-weight:600}
.pt-dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:6px;background:var(--ok)}
.pt-dot.bad{background:var(--err)}.pt-dot.off{background:#B7B1AB}
