@import url('./assets/fonts.css');
:root{color-scheme:light;--ink:#182d29;--muted:#6e736b;--paper:#f7f5ee;--line:#deded2;--green:#264d40;--accent:#b5623e;--serif:Georgia,'Times New Roman',serif;--sans:'DM Sans','Segoe UI',sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased}a{color:inherit}button,input{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #b5623e;outline-offset:5px}button:disabled{cursor:wait;opacity:.65}button svg{width:21px;height:21px;flex-shrink:0}.site-header,main,footer{width:min(1304px,calc(100% - 104px));margin:auto}.site-header{height:104px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.brand{font-size:26px;text-decoration:none;font-weight:700;letter-spacing:-1.1px;display:flex;gap:11px;align-items:center}.brand-dot{color:var(--accent)}.brand-icon{display:inline-flex;align-items:center;position:relative;border:1.5px solid var(--ink);width:30px;height:34px;border-radius:6px 6px 14px 14px;font-size:18px;justify-content:center;letter-spacing:-2px}.brand-icon span{position:absolute;top:-9px;right:-6px;background:var(--paper);font-size:16px;line-height:1}.header-right{display:flex;gap:32px;align-items:center}.edition,.eyebrow,.section-label,.stage-label,.stage-footnote,.result-kicker,.approval,.result-number{font-size:10px;font-weight:600;letter-spacing:1.3px}.edition{color:var(--muted);font-size:9px;letter-spacing:1.5px}.catalog-link{font-size:12px;text-decoration:none}.catalog-link span{font-size:18px;margin-left:10px}.intro{display:grid;grid-template-columns:1.05fr 1fr;column-gap:50px;padding:48px 0 40px;align-items:end}.eyebrow{grid-column:1/-1;color:var(--accent);display:flex;gap:8px;align-items:center;margin-bottom:20px;font-size:9px}.eyebrow>span{display:inline-block;width:6px;height:6px;background:var(--accent);border-radius:50%}h1{font-family:var(--serif);font-size:clamp(46px,5.3vw,76px);font-weight:400;letter-spacing:-3.4px;line-height:1.02;margin:0}h1 em{font-weight:400;color:var(--accent)}.intro-side{padding:0 0 3px 14px}.intro-side p{font-size:14px;line-height:1.8;margin:0 0 24px;color:#5e675e}.approval{font-size:9px;letter-spacing:.35px;display:flex;gap:7px;align-items:center}.approval>span{font-size:21px;color:var(--accent)}.workspace{display:grid;grid-template-columns:1.05fr 1fr;column-gap:50px;border-top:1px solid var(--line);padding-top:23px}.generator-panel{padding-right:8px}.diploma-panel{border-left:1px solid var(--line);padding-left:40px}.section-label{display:flex;justify-content:space-between;align-items:center;font-size:9px;letter-spacing:1.1px;margin-bottom:25px}.mini-tag,.paper-tag{font-size:8px;letter-spacing:.8px;border:1px solid #c9cfc2;padding:5px 8px;border-radius:3px;color:#697766}.paper-tag{border:0;padding-right:0}.length-fieldset{margin:0;padding:0;border:0}.length-fieldset legend,form label{display:block;font-size:12px;font-weight:600;margin-bottom:13px}.length-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.length-choice{position:relative;min-width:0}.length-choice input{position:absolute;opacity:0;width:1px;height:1px}.length-choice label{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:1px solid #d7dbcf;border-radius:5px;background:#faf9f4;min-height:62px;padding:8px 1px;cursor:pointer;transition:background .15s,border-color .15s}.length-choice strong{font-size:11px;font-weight:500}.length-choice .bars{display:flex;align-items:end;gap:2px;height:10px}.bars i{display:block;width:3px;background:#c7cdbd;border-radius:1px}.bars i:nth-child(1){height:3px}.bars i:nth-child(2){height:5px}.bars i:nth-child(3){height:7px}.bars i:nth-child(4){height:9px}.bars i:nth-child(5){height:11px}.length-choice input:checked+label{background:#e6ecde;border-color:#64775e}.length-choice input:checked+label .bars i.on{background:var(--green)}.length-choice input:focus-visible+label{outline:3px solid var(--accent);outline-offset:3px}.length-hint{font-size:10px;color:var(--muted);margin:10px 0 20px;min-height:15px}.generate-button{width:100%;display:flex;align-items:center;gap:11px;border:0;background:var(--ink);color:#fffef4;border-radius:5px;padding:17px 20px;font-size:13px;font-weight:500;transition:background .15s,transform .15s}.generate-button:hover{background:#305446;transform:translateY(-1px)}.button-arrow{margin-left:auto;font-size:23px;line-height:1}.generate-caption{text-align:center;font-size:9px;color:var(--muted);margin:10px 0 24px}.result-card{background:#eeeee4;border:1px solid #dcded1;border-radius:6px;padding:18px 22px 15px;min-height:175px;position:relative}.result-kicker{color:#6d7567;font-size:8px;letter-spacing:1px;display:flex;justify-content:space-between;align-items:center;gap:16px}.copy-button{border:0;background:none;color:#667460;padding:3px;display:flex}.copy-button:hover{color:var(--accent)}.copy-button svg{width:17px;height:17px}h2{font-family:var(--serif);font-size:27px;line-height:1.17;font-weight:400;letter-spacing:-.4px;margin:19px 0 23px;overflow-wrap:anywhere}.result-card[data-long="true"] h2{font-size:23px}.result-footer{border-top:1px solid #d7dacc;display:flex;justify-content:space-between;align-items:center;gap:15px;padding-top:12px;font-size:8px;color:#727a6a}.result-number{font-size:8px;letter-spacing:.2px;white-space:nowrap}.generator-note{font-size:10px;color:var(--muted);margin:12px 0 0}.generator-note>span{color:var(--accent);font-size:15px;margin-right:5px}.certificate-stage{background:#e9ebdf;border-radius:5px;padding:18px 25px 13px;text-align:center;position:relative;overflow:hidden}.stage-label{display:block;font-size:8px;letter-spacing:1.2px;color:#6a765f;margin-bottom:17px}.certificate-paper{width:100%;background:#fff7e4;box-shadow:0 6px 12px #33381823;transform:rotate(-2deg);transition:transform .25s}.certificate-paper:hover{transform:rotate(0)}canvas{display:block;width:100%;height:auto}.stage-footnote{display:block;color:#8a8f7f;font-size:8px;font-weight:400;letter-spacing:.3px;margin-top:19px}form{padding-top:22px}form label{font-size:11px;margin-bottom:10px}.name-row{display:flex;gap:8px}.name-row input{width:100%;min-width:0;border:1px solid #d6dacc;border-radius:4px;background:#fdfcf7;color:var(--ink);font-size:11px;padding:13px 12px}.name-row input::placeholder{color:#9a9d91}.name-row input[aria-invalid=true]{border-color:#a7422a}.name-row button{border:1px solid var(--ink);border-radius:4px;background:transparent;color:var(--ink);font-weight:600;font-size:10px;white-space:nowrap;display:flex;gap:8px;align-items:center;padding:10px 12px;transition:background .15s}.name-row button:hover{background:#e3e8dc}.name-row button svg{width:16px;height:16px}.privacy-note{font-size:9px;color:#858b7c;display:flex;gap:5px;align-items:center;margin:11px 0 0;line-height:1.5}.privacy-note svg{width:12px;height:12px;flex-shrink:0}.error-text{font-size:11px;color:#a7422a;margin:9px 0 0}.disclaimer{display:flex;align-items:center;gap:14px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:21px 0;margin-top:32px}.disclaimer-star{font-size:28px;color:var(--accent)}.disclaimer p{font-size:10px;color:#7c8274;line-height:1.7;margin:0}.disclaimer strong{font-weight:600;color:#3b4c3d}footer{display:flex;justify-content:space-between;gap:15px;padding:23px 0 29px;font-size:9px;color:#858b7d}footer a{text-underline-offset:3px}footer>span:last-child{font-size:8px}footer>span:last-child span{margin-left:8px}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);max-width:90vw;padding:13px 20px;background:var(--ink);border-radius:6px;box-shadow:0 8px 30px #0002;color:white;font-size:12px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:10}.toast.show{opacity:1;transform:translate(-50%,0)}.skip-link{position:fixed;top:-100px;left:12px;background:white;padding:10px;z-index:20}.skip-link:focus{top:12px}.result-card.refresh{animation:reveal .3s ease-out}@keyframes reveal{from{opacity:.2;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1500px){.intro{padding-top:60px;padding-bottom:48px}.workspace{column-gap:70px}.diploma-panel{padding-left:48px}.certificate-stage{padding:22px 32px 16px}.result-card{min-height:195px}.intro-side p{font-size:16px}h2{font-size:30px}.length-choice label{min-height:68px}.section-label{margin-bottom:30px}}
@media(max-width:1050px){.site-header,main,footer{width:calc(100% - 64px)}.workspace,.intro{column-gap:28px;grid-template-columns:1fr 1fr}.diploma-panel{padding-left:25px}.name-row{flex-direction:column}.name-row button{justify-content:center;padding:12px}.intro-side{padding-left:0}.intro-side p{font-size:12px}.length-choice strong{font-size:10px}.result-footer{font-size:7px}.result-kicker{font-size:7px;letter-spacing:.7px}h1{font-size:62px}.certificate-stage{padding:16px 16px 12px}}
@media(max-width:740px){.site-header,main,footer{width:calc(100% - 40px)}.site-header{height:78px}.brand{font-size:23px}.edition{display:none}.catalog-link{font-size:10px}.header-right{gap:0}.intro{display:block;padding:33px 0 30px}.eyebrow{margin-bottom:20px;font-size:8px}h1{font-size:57px;letter-spacing:-2.8px}.intro-side{margin-top:24px}.intro-side p{font-size:13px;line-height:1.7;margin-bottom:12px}.desktop-break{display:none}.approval{font-size:8px}.workspace{display:block;padding-top:20px}.generator-panel{padding:0}.section-label{margin-bottom:23px}.length-choice label{min-height:62px}.length-choice strong{font-size:11px}.length-fieldset legend{font-size:12px}.result-card{min-height:175px;padding:17px 20px}.result-kicker{font-size:8px}.result-footer{font-size:8px}h2{font-size:28px}.diploma-panel{border-left:0;border-top:1px solid var(--line);padding:23px 0 0;margin-top:31px}.certificate-stage{padding:22px 26px 17px}.stage-label{margin-bottom:20px}.stage-footnote{margin-top:21px}.name-row{flex-direction:row}.name-row input{font-size:12px}.name-row button{font-size:10px;gap:6px;padding:12px 10px}form label{font-size:12px}.privacy-note{font-size:9px}.disclaimer{align-items:flex-start;padding:20px 0;margin-top:28px}.disclaimer-star{font-size:25px}.disclaimer p{font-size:10px}.disclaimer strong{display:block;margin-bottom:3px}footer{display:block;line-height:1.7}footer>span{display:block}footer>span:last-child{margin-top:5px}}
@media(max-width:370px){h1{font-size:49px}.name-row{flex-direction:column}.length-choice strong{font-size:10px}.length-options{gap:4px}.result-footer{align-items:flex-start;flex-direction:column;gap:5px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}.certificate-paper{transform:none}}

.humor-options{margin:0 0 24px;padding:16px 17px;border:1px solid #ddd6c7;border-radius:5px;background:#f2efe5}.humor-options>p:first-child{font-size:11px;font-weight:600;margin:0 0 6px}.humor-options>p:nth-child(2){font-size:10px;color:var(--muted);margin:0 0 13px;line-height:1.5}.humor-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}.humor-buttons button{min-height:43px;display:flex;justify-content:space-between;align-items:center;gap:10px;border:1px solid #b7bca9;border-radius:4px;background:#fbfaf4;color:var(--ink);padding:10px 12px;font-size:11px;font-weight:500;transition:background .15s,border-color .15s}.humor-buttons button:hover{background:#e6ecde;border-color:#64775e}.humor-buttons button span{font-size:18px;color:var(--accent);line-height:1}@media(max-width:370px){.humor-options{padding:14px 12px}.humor-buttons{gap:6px}.humor-buttons button{font-size:10px;padding-inline:9px}}

.design-fieldset{border:0;padding:0;margin:0 0 20px;min-width:0}.design-fieldset legend{font-size:12px;font-weight:600;margin-bottom:12px}.design-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.design-choice{min-width:0;position:relative}.design-choice input{position:absolute;opacity:0;width:1px;height:1px}.design-choice label{position:relative;display:flex;flex-direction:column;gap:7px;padding:7px 7px 8px;border:1px solid #d6dacc;border-radius:5px;cursor:pointer;background:#faf9f4;transition:border-color .15s,background .15s;min-width:0}.design-choice label:hover{border-color:#89987e;background:#eef0e6}.design-choice img{display:block;width:100%;height:auto;aspect-ratio:297/210;object-fit:cover;border-radius:2px;background:#eee9dd}.design-choice label>span:not(.design-check){font-size:10px;font-weight:500;text-align:center;white-space:nowrap}.design-check{display:none;position:absolute;right:3px;top:3px;width:19px;height:19px;border-radius:50%;background:var(--ink);color:#fffef4;font-size:11px;line-height:19px;text-align:center;box-shadow:0 0 0 2px #f7f5ee}.design-choice input:checked+label{border-color:#4b6853;background:#e6ecde;box-shadow:0 0 0 1px #4b6853}.design-choice input:checked+label .design-check{display:block}.design-choice input:focus-visible+label{outline:3px solid var(--accent);outline-offset:3px}.design-description{font-size:10px;color:var(--muted);line-height:1.5;margin:10px 0 0;min-height:15px}#diploma-canvas[aria-busy=true]{opacity:.5}.certificate-stage:has(#diploma-canvas[aria-busy=true])::after{content:'Preparando diseño…';position:absolute;inset:0;display:grid;place-items:center;font-size:12px;font-weight:600;color:var(--ink);background:#f7f5ee35;pointer-events:none}@media(max-width:370px){.design-options{gap:6px}.design-choice label{padding:5px 5px 7px;gap:6px}.design-choice label>span:not(.design-check){font-size:9px}.design-fieldset legend{font-size:11px}}

.design-choice label>span:not(.design-check){white-space:normal;line-height:1.25;min-height:25px;display:grid;place-items:center}.design-choice label{height:100%}
body{font-size:14px;line-height:1.45}.site-header,main,footer{width:min(1600px,calc(100% - 48px))}.site-header{height:56px;gap:24px;justify-content:flex-start}.brand{font-size:19px;gap:7px;letter-spacing:-.7px}.brand-icon{width:25px;height:29px;font-size:16px;letter-spacing:-1px}.site-header h1{font:600 19px/1.2 var(--sans);letter-spacing:-.3px;margin:0}.catalog-link{margin-left:auto;min-height:44px;display:flex;gap:9px;align-items:center;font-size:12px}.catalog-link span{margin:0;font-size:18px}.workspace{grid-template-columns:minmax(320px,420px) minmax(0,1fr);gap:24px;align-items:start;padding-top:16px;border:0}.generator-panel{display:flex;flex-direction:column;gap:12px;padding:0;min-width:0}.diploma-panel{min-width:0;border:0;padding:0}.length-fieldset legend,.design-fieldset legend,form label{font-size:12px;font-weight:600;margin-bottom:8px}.length-options{gap:5px}.length-choice label{flex-direction:row;min-height:44px;padding:6px 2px;gap:0}.length-choice strong{font-size:12px}.length-choice .bars{display:none}.length-hint{font-size:11px;margin:6px 0 0;line-height:1.3;min-height:0}.generate-button{min-height:44px;padding:10px 14px;font-size:13px;gap:10px}.generate-button:hover{transform:none}.button-arrow{font-size:21px}.humor-options{padding:0;margin:0;border:0;background:transparent}.humor-options>p:first-child{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:500;gap:8px;margin:0 0 6px}.humor-options>p:first-child span{font-size:10px;font-weight:400;color:var(--muted)}.humor-buttons{gap:6px}.humor-buttons button{min-height:44px;padding:9px 12px;font-size:12px}.result-card{min-height:125px;padding:12px 14px}.result-kicker{font-size:11px;letter-spacing:0}.copy-button{width:30px;min-height:30px;align-items:center;justify-content:center}h2{font-size:25px;line-height:1.15;margin:7px 0 12px;letter-spacing:-.3px}.result-card[data-long=true] h2{font-size:22px}.result-footer{padding-top:7px;font-size:9px;letter-spacing:.1px}form{padding-top:1px;margin:0}.name-row{flex-direction:row;gap:7px}.name-row input{min-height:44px;font-size:13px;padding:10px 11px}.name-row button{min-height:44px;padding:9px 11px;gap:7px;font-size:12px;background:#e4eadc}.privacy-note{font-size:10px;line-height:1.35;margin:6px 0 0}.error-text{font-size:12px;margin:6px 0 0}.design-fieldset{margin:0}.design-options{grid-template-columns:repeat(8,minmax(0,1fr));gap:6px;padding:2px}.design-choice label{padding:4px;gap:4px}.design-choice img{height:44px;width:100%;object-fit:contain;aspect-ratio:auto}.design-choice label>span:not(.design-check){font-size:10px;line-height:1.15;min-height:24px;overflow-wrap:anywhere}.design-check{width:15px;height:15px;line-height:15px;font-size:9px;right:2px;top:2px}.design-description{font-size:10px;line-height:1.3;margin:6px 0 9px;min-height:13px}.design-scroll-help{display:none}.certificate-stage{padding:10px;border:1px solid #dfe4d5;background:#eceee2}.certificate-paper{width:100%;max-width:min(640px,calc((100svh - 220px)*1.4143));margin:auto;transform:none;box-shadow:0 3px 9px #182d291c}.certificate-paper:hover{transform:none}footer{gap:12px;margin-top:14px;padding:9px 0 14px;font-size:10px;border-top:1px solid var(--line)}footer>span:last-child{font-size:10px}.toast{bottom:16px;padding:11px 16px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1150px){.site-header,main,footer{width:calc(100% - 36px)}.workspace{grid-template-columns:minmax(300px,360px) minmax(0,1fr);gap:20px}.design-options{grid-template-columns:repeat(4,minmax(0,1fr))}.design-choice img{height:35px}.design-choice label>span:not(.design-check){min-height:23px}.certificate-paper{max-width:min(560px,calc((100svh - 290px)*1.4143))}}
@media(max-width:740px){.site-header,main,footer{width:calc(100% - 28px)}.site-header{height:52px;gap:10px}.brand-word{display:none}.brand-icon{width:23px;height:27px;font-size:15px}.site-header h1{font-size:17px}.catalog-link{font-size:11px;gap:5px}.workspace{display:flex;flex-direction:column;gap:14px;padding-top:12px}.generator-panel,.diploma-panel{width:100%}.generator-panel{gap:10px}.length-fieldset legend,.design-fieldset legend,form label{font-size:12px;margin-bottom:7px}.length-choice strong{font-size:12px}.length-hint{font-size:10px;margin-top:5px}.result-card{min-height:110px;padding:10px 12px}h2{font-size:23px;margin:6px 0 9px}.result-card[data-long=true] h2{font-size:20px}.humor-options>p:first-child{font-size:11px}.name-row input{font-size:16px}.name-row button{font-size:12px}.privacy-note{font-size:10px}.design-options{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:86px;gap:6px;overflow-x:auto;padding:2px 2px 6px;scroll-snap-type:x proximity}.design-choice{scroll-snap-align:start}.design-choice img{height:39px}.design-choice label>span:not(.design-check){font-size:10px;min-height:24px}.design-fieldset legend{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px}.design-scroll-help{display:inline;color:var(--muted);font-size:10px;font-weight:400}.design-description{font-size:10px;margin:5px 0 8px}.certificate-stage{padding:7px}.certificate-paper{max-width:100%}footer{display:block;margin-top:12px;padding:8px 0 12px;font-size:9px}footer>span:last-child{font-size:9px;margin-top:3px}}
@media(max-width:370px){.site-header,main,footer{width:calc(100% - 24px)}.site-header h1{font-size:15px}.catalog-link{font-size:10px}.length-choice strong{font-size:10px}.humor-buttons button{font-size:11px;padding-inline:9px}.name-row{gap:5px}.name-row button{padding-inline:8px;font-size:11px;gap:5px}.name-row button svg{width:15px}.humor-options>p:first-child{font-size:10px}}


.diploma-panel{margin:0}
