@font-face{font-family:Rethink;src:url('/rethink-sans-latin.woff2') format('woff2');font-weight:400 600;font-display:swap}
:root{font-family:Rethink,Arial,sans-serif;color:#17191b;background:#fff;--page-gutter:24px;--content-gutter:calc(var(--page-gutter) * 3)}
*{box-sizing:border-box}
body{margin:0;min-height:100vh}
button,input{font:inherit}
button{cursor:pointer}
[hidden]{display:none!important}
.topbar{height:64px;padding:0 var(--content-gutter);display:grid;grid-template-columns:1fr minmax(180px,320px) 1fr;align-items:center;gap:24px;background:#fff}
.perture-logo{display:inline-flex;align-items:center;justify-self:start}.perture-logo img{display:block;width:107.23px;height:17px}
.progress{width:100%;display:flex;align-items:center;justify-content:center}.progress-track{width:100%;display:grid;grid-template-columns:7px 1fr 7px 1fr 7px 1fr 7px;align-items:center;gap:7px}.progress-segment{height:2px;background:#e4e8eb;transition:background .3s}.progress-segment.is-active{background:#00a6ff}
.progress-dot{position:relative;display:block;width:7px;height:7px;border-radius:2px;background:#cbd5db;font-style:normal;transition:background .3s}.progress-dot.is-active{background:#00a6ff}.progress-dot::before{content:"";position:absolute;inset:-15px;z-index:1}.progress-dot::after{content:attr(data-label);position:absolute;z-index:5;top:calc(100% + 13px);left:50%;transform:translateX(-50%);padding:6px 9px;border:1px solid #e5e8ea;border-radius:5px;background:#fff;color:#555e64;font-family:Rethink,Arial,sans-serif;font-size:12px;font-style:normal;font-weight:400;line-height:1.2;white-space:nowrap;box-shadow:0 4px 12px #00000010;opacity:0;visibility:hidden;pointer-events:none}.progress-dot:hover::after{opacity:1;visibility:visible}
.back-link{justify-self:end;display:inline-flex;align-items:center;justify-content:center;gap:10px;height:38px;padding:0 16px;border:1px solid #dedede;border-radius:999px;background:#fff;color:#17191b;text-decoration:none;font-size:12px;font-weight:400;white-space:nowrap}.back-link svg{width:17px;height:17px;flex:none;transform:rotate(180deg)}.back-link:hover{border-color:#bfc6ca;background:#fafafa}
.workspace{width:100%;margin:0;padding:0 0 104px}
.page-intro{padding:22px var(--content-gutter) 0;margin:0 0 36px}
h1{font-size:clamp(27px,3.1vw,36px);font-weight:400;letter-spacing:-.05em;line-height:1.13;margin:0 0 7px}.page-intro p{font-size:14px;color:#72797e;line-height:1.5;margin:0;max-width:680px}
.title-underline,.title-circle{position:relative;white-space:nowrap}.title-underline::after{content:"";position:absolute;left:0;right:0;bottom:-3px;height:2px;border-radius:999px;background:#00a6ff;transform:rotate(-1deg)}.title-circle::after{content:"";position:absolute;inset:-8px -12px -5px;border:2px solid #00a6ff;border-radius:55% 48% 52% 45%;transform:rotate(-6deg);pointer-events:none}
body.is-loading .topbar,body.is-loading .page-intro{display:none}
body.is-loading .workspace{padding:0}
.loading-state{position:fixed;inset:0;z-index:80;display:flex;align-items:center;justify-content:center;background:#fff}
.loading-icon{display:block;width:29px;height:29px;overflow:visible}
.loading-shine{animation:brandShine 2.4s linear infinite;animation-duration:2.4s!important}
@keyframes brandShine{from{transform:translateX(0)}to{transform:translateX(64px)}}
.source-line{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:0 0 18px;font-size:12px;color:#858b90}.source-line span:first-child{color:#23282c}
.brand-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 42px;border-top:1px solid #e7e9eb}
.brand-section{min-width:0;min-height:270px;border-bottom:1px solid #e7e9eb;position:relative;padding:25px 0 28px}.typography-section{grid-column:1/-1;min-height:255px}
.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px;gap:12px}.section-head>div{display:flex;gap:16px;align-items:baseline}.section-index{font-size:11px;color:#a3a9ad;font-weight:500;letter-spacing:.06em}.section-head h2{font-size:21px;line-height:1;margin:0;font-weight:500;letter-spacing:-.035em}.source-tag{font-size:11px;color:#959b9f;white-space:nowrap}
.logo-surface{height:171px;background:#f8f9f9;display:flex;align-items:center;justify-content:center;border-radius:8px}.logo-surface img{max-width:min(75%,300px);max-height:110px;object-fit:contain}.ghost-logo{font-size:62px;color:#dce1e4;letter-spacing:-.08em}
.swatch-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.swatch{min-width:0}.swatch-color{display:block;height:119px;border-radius:7px;border:1px solid #e8ebed}.swatch-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:10px 0 2px;font-size:11px;color:#676f74;text-transform:capitalize}.swatch-hex{font-size:12px;color:#1f2427;font-weight:500;text-transform:uppercase}.ghost-swatch{height:119px;background:#f1f3f4;border-radius:7px}
.type-list{display:grid;grid-template-columns:1fr 1fr;gap:28px}.type-item{min-width:0;border-right:1px solid #eff0f1;padding:0 22px 0 0}.type-item:last-child{border-right:0}.type-item .type-role{display:block;margin-bottom:16px;color:#858b90;font-size:11px;text-transform:uppercase;letter-spacing:.11em}.type-item .type-sample{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:38px;line-height:1.2;letter-spacing:-.04em;font-weight:400}.type-item .type-name{display:block;margin-top:12px;color:#656d72;font-size:12px}.ghost-type{height:88px;background:linear-gradient(#f0f2f3 0 12px,transparent 12px 29px,#f0f2f3 29px 63px,transparent 63px);opacity:.8}
.icon-list{display:flex;gap:12px}.icon-cell{width:72px;height:72px;border:1px solid #eceeef;border-radius:8px;display:grid;place-items:center;background:#fff}.icon-cell img{width:32px;height:32px;object-fit:contain}.ghost-icon{width:72px;height:72px;background:#f1f3f4;border-radius:8px}
.component-list{display:flex;flex-wrap:wrap;gap:10px}.component-sample{min-height:44px;padding:0 19px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #dce1e4;border-radius:999px;color:#1e2529;background:#fff;font-size:13px;font-weight:500;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.component-sample:first-child{background:#1a1b1c;border-color:#1a1b1c;color:white}.ghost-component{height:44px;width:125px;border-radius:999px;background:#f0f2f3}
.locked-cover{position:absolute;inset:64px 0 22px;background:rgba(235,238,240,.81);border:1.5px dashed #aab4ba;border-radius:9px;display:flex;align-items:center;justify-content:center;text-align:center;backdrop-filter:blur(2px)}.locked-cover span{padding:9px 15px;border-radius:20px;background:rgba(255,255,255,.85);font-size:12px;font-weight:500;color:#616b71}
.page-footer{display:flex;justify-content:flex-end;align-items:center;padding:22px var(--page-gutter) 0;font-size:12px;color:#81888d}.page-footer span{white-space:nowrap}
.start-state,.error-state{max-width:660px;margin:0 var(--content-gutter);padding-top:26px}.start-state p,.error-state p{color:#72797e;font-size:14px;line-height:1.5}.error-state strong{font-size:18px;font-weight:500}.start-state label,.error-state label{display:block;margin:26px 0 8px;font-size:12px;color:#656d72}.site-entry{display:flex;gap:10px}.site-entry input{width:100%;min-width:0;border:1px solid #d9dfe2;border-radius:8px;padding:13px 14px;outline:0}.site-entry input:focus{border-color:#00a6ff}.site-entry button{border:0;background:#16191b;color:#fff;padding:0 20px;border-radius:8px;white-space:nowrap;font-size:13px;display:inline-flex;align-items:center;justify-content:center;gap:8px}.site-entry button svg{width:17px;height:17px}
.bottom-action{position:fixed;left:0;right:0;bottom:0;z-index:30;padding:60px var(--content-gutter) 20px;background:linear-gradient(to bottom,rgba(255,255,255,0),#fff 56%);pointer-events:none}.bottom-action button{pointer-events:auto;display:flex;align-items:center;justify-content:center;gap:9px;width:100%;height:54px;background:#00a6ff;border:0;border-radius:999px;color:#fff;font-size:16px;font-weight:500;box-shadow:0 7px 20px #00a6ff2a}.bottom-action button:hover{background:#008de0}.bottom-action button svg{width:18px;height:18px;flex:none}
.test-state{padding:0 var(--content-gutter)}.test-workspace{display:grid;grid-template-columns:minmax(250px,.6fr) minmax(0,1fr);gap:clamp(30px,5vw,72px);align-items:start}.test-controls h2{font-size:20px;font-weight:500;letter-spacing:-.035em;margin:14px 0 10px}.test-controls p{font-size:14px;line-height:1.6;color:#737a80;margin:0 0 27px}.test-controls label{display:block;font-size:12px;color:#5f686d;margin:0 0 9px}.test-controls input{display:block;width:100%;height:48px;padding:0 14px;border:1px solid #d9dfe2;border-radius:9px;outline:0}.test-controls input:focus{border-color:#00a6ff;box-shadow:0 0 0 3px #00a6ff22}#back-to-brand{margin-top:25px;min-height:40px;display:inline-flex;align-items:center;gap:8px;border:1px solid #dedede;border-radius:999px;background:#fff;padding:0 14px;color:#202427;font-size:13px}#back-to-brand svg{width:16px;height:16px;transform:rotate(180deg)}#back-to-brand:hover{border-color:#00a6ff;color:#00a6ff}.sample-screen{min-height:340px;border:1px solid #e4e8eb;border-radius:14px;overflow:hidden;background:var(--sample-bg,#fff);color:var(--sample-ink,#111)}.sample-bar{height:33px;border-bottom:1px solid #e4e8eb;display:flex;align-items:center;gap:5px;padding:0 12px;background:#fafafa}.sample-bar>span{width:6px;height:6px;border:1px solid #d5dadd;border-radius:50%}.sample-bar small{margin-left:auto;color:#9aa2a7;font-size:10px}.sample-content{padding:47px clamp(25px,5vw,70px)}.sample-content img{display:block;max-width:160px;max-height:39px;object-fit:contain;margin-bottom:38px}.sample-content h2{max-width:490px;font-size:clamp(28px,3.8vw,45px);font-weight:400;letter-spacing:-.05em;line-height:1.14;margin:0 0 12px}.sample-content p{font-size:13px;opacity:.68;line-height:1.5;margin:0 0 25px}.sample-button{display:inline-flex;align-items:center;gap:13px;background:var(--sample-accent,#00a6ff);color:var(--sample-button-ink,#fff);padding:12px 18px;border-radius:8px;font-size:13px}.sample-button svg{width:17px;height:17px}
@media(max-width:760px){:root{--page-gutter:20px;--content-gutter:calc(var(--page-gutter) * 2)}.topbar{gap:16px;grid-template-columns:auto minmax(90px,1fr) auto}.bottom-action{padding-top:56px;padding-bottom:16px}}
@media(max-width:760px){.test-workspace{grid-template-columns:1fr;gap:26px}.sample-content{padding:34px 30px}}
@media(max-width:430px){:root{--content-gutter:var(--page-gutter)}.topbar{gap:12px}.back-link{gap:5px;padding:0 12px}.page-intro h1{font-size:28px}.site-entry{flex-direction:column}.site-entry button{height:44px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

.asset-editor{position:fixed;inset:0 0 0 auto;width:min(390px,100vw);height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-left:1px solid #dedede;background:#fff;color:#17191b;box-shadow:-10px 0 35px #00000012}.asset-editor::backdrop{background:#ffffffa8;backdrop-filter:blur(2px)}
.editor-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:28px;border-bottom:1px solid #e5e5e5}.editor-heading small{display:block;color:#8e8e93;font-size:11px;margin-bottom:7px}.editor-heading h2{font-size:22px;line-height:1.2;font-weight:400;margin:0}.editor-heading button{width:30px;height:30px;border:1px solid #dedede;border-radius:50%;background:#fff;color:#333;font-size:21px;line-height:1}
.editor-preview{min-height:190px;margin:28px;border:1px solid #dedede;background:#fafafa;display:flex;align-items:center;justify-content:center;overflow:hidden}.editor-preview img{max-width:75%;max-height:115px;object-fit:contain}.editor-preview .editor-type-sample{max-width:80%;font-size:22px;overflow-wrap:anywhere}.editor-preview .editor-color-sample{width:100%;height:190px}
.editor-detail{margin:0 28px 27px;color:#60686e;font-size:13px;line-height:1.5}.editor-field{display:grid;gap:10px;margin:0 28px 24px;font-size:12px;color:#4e565b}.editor-field input[type="text"]{height:42px;border:1px solid #d5dadd;border-radius:0;padding:0 12px;outline:0}.editor-field input[type="text"]:focus{border-color:#00a6ff}.editor-field input[type="file"]{max-width:100%;font-size:12px}.editor-field input[type="color"]{width:100%;height:48px;padding:3px;border:1px solid #d5dadd;background:#fff}.editor-field output{font-size:12px;color:#626a70}.editor-note{margin:32px 28px 0;padding-top:20px;border-top:1px solid #e9e9e9;color:#8e8e93;font-size:12px;line-height:1.5}.editor-error{margin:14px 28px;color:#c53030;font-size:12px}
