@font-face{font-family:Space Grotesk;src:url(/fonts/space-grotesk.woff2) format("woff2");font-weight:300 700;font-display:swap}
@font-face{font-family:DM Sans;src:url(/fonts/dm-sans.woff2) format("woff2");font-weight:100 1000;font-display:swap}

:root {
  color-scheme: light;
  --paper:#f8f7f2;
  --white:#fffefa;
  --ink:#20221d;
  --muted:#5d6054;
  --line:#dcded2;
  --green:#d7fa82;
  --green-hover:#c5ee6b;
  --lilac:#e8defa;
  --peach:#f8e6dc;
  --heading:"Space Grotesk",Arial,sans-serif;
  --body:"DM Sans",Arial,sans-serif;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
[hidden]{display:none!important}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--body);font-size:1rem;line-height:1.53}
#app{display:flex;min-height:100svh;flex-direction:column}
main{flex:1}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
a,button,summary,input,select,textarea{-webkit-tap-highlight-color:transparent}
button,input,select,textarea{font:inherit;color:inherit}
button,summary,select,input[type=color],input[type=range]{cursor:pointer}
button:disabled{opacity:.66;cursor:wait}
:focus-visible{outline:3px solid #6840b1;outline-offset:4px}
h1,h2,h3,p{margin:0}
h1,h2,h3,.brand{font-family:var(--heading);line-height:1.05;letter-spacing:-.047em}
h2{font-size:clamp(1.6rem,3.4vw,2.6rem)}
h3{font-size:1.36rem}
small,.hint{font-size:.875rem}
.muted{color:var(--muted)}
.wrap{width:min(100% - 72px,1184px);margin-inline:auto}
.skip{position:fixed;top:8px;left:8px;transform:translateY(-150%);z-index:5;padding:10px 14px;background:var(--white)}
.skip:focus{transform:none}
.site-header{border-bottom:1px solid var(--line)}
.nav{height:76px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px}
.brand{width:max-content;display:inline-flex;align-items:center;gap:10px;font-size:1.58rem;font-weight:700;letter-spacing:-.085em;white-space:nowrap}
.brand img{flex:none}
.nav nav{display:flex;align-items:center;gap:34px;color:#4e5147;font-size:.935rem;font-weight:650}
.nav nav a:hover,.nav nav a[aria-current=page]{color:var(--ink);text-decoration:underline;text-underline-offset:5px}
.nav-account{justify-self:end}

.button {
  min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:9px;
  padding:10px 17px;border:1px solid transparent;border-radius:9px;font-weight:750;
  font-size:.95rem;line-height:1.28;text-align:center;transition:background .15s,border-color .15s,box-shadow .15s;
}
.button svg{flex:none}
.primary{background:var(--green);border-color:#b4d76e;color:var(--ink)}
.primary:hover{background:var(--green-hover);border-color:#9fbd5e}
.secondary{background:var(--white);border-color:#d3d5c9}
.secondary:hover{background:#eeefe6;border-color:#a9ae9c}
.dark{background:var(--ink);color:white;border-color:var(--ink)}
.dark:hover{background:#3d4036;border-color:#3d4036}
.button.small{min-height:42px;padding-inline:13px;font-size:.875rem}
.button.large{min-height:57px;padding-inline:23px;font-size:1rem}
.full{width:100%}
.text-button{display:inline-flex;align-items:center;min-height:40px;color:#4d3a6b;background:none;border:0;padding:0;font-weight:750;text-decoration:underline;text-underline-offset:3px}
.text-button:hover{color:#26183d}
.button.text-button{padding:8px 10px}

.hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:48px;padding-block:66px 62px}
.hero-copy{padding-bottom:10px}
.trust-label{display:inline-flex;align-items:center;gap:8px;min-height:32px;border-radius:100px;border:1px solid #d4ddbe;background:#eef3df;padding:4px 11px;font-weight:750;font-size:.875rem}
.trust-label svg{color:#48611f}
.hero h1{margin:23px 0 18px;font-size:clamp(3.6rem,6.6vw,6.05rem);letter-spacing:-.074em;line-height:.96;max-width:7.8em}
.hero-period{color:#647b31}
.hero-copy p{font-size:clamp(1.05rem,1.65vw,1.24rem);color:#4f5246;max-width:450px;line-height:1.55;margin-bottom:27px}
.hero-art {
  position:relative;isolation:isolate;min-height:434px;border:1px solid #cfc8df;border-radius:19px;overflow:hidden;
  background-color:#eae4f3;
  background-image:linear-gradient(90deg,rgba(85,68,115,.085) 1px,transparent 1px),linear-gradient(rgba(85,68,115,.085) 1px,transparent 1px);
  background-size:24px 24px;background-position:center;
}
.art-crop{width:18px;height:18px;border:solid #5a526b;position:absolute;opacity:.62}
.top-left{border-width:1px 0 0 1px;top:23px;left:24px}
.bottom-right{border-width:0 1px 1px 0;right:24px;bottom:23px}
.poster{
  width:43%;max-width:238px;position:absolute;padding:14px 15px 13px;border:1px solid;border-radius:12px;
  color:var(--poster-ink);background:var(--poster);box-shadow:0 9px 0 rgba(30,24,42,.09),0 22px 33px rgba(45,32,65,.16);
}
.poster-green{--poster:#def3a6;--poster-ink:#224635;left:13%;top:12%;transform:rotate(-12deg)}
.poster-purple{--poster:#dfd1fb;--poster-ink:#422d67;right:11%;top:29%;transform:rotate(12deg)}
.poster-heading{display:flex;justify-content:space-between;align-items:baseline;gap:5px;margin-bottom:6px}
.poster-heading b{font-family:var(--heading);font-size:clamp(.71rem,1.35vw,1.14rem);line-height:1;letter-spacing:-.055em;white-space:nowrap}
.poster-purple .poster-heading b{font-family:Georgia,serif;font-style:italic;font-weight:400;font-size:clamp(.85rem,1.7vw,1.35rem)}
.poster-heading span{font-size:clamp(.38rem,.63vw,.55rem);letter-spacing:.06em;font-weight:800;text-align:right}
.poster img{width:100%;height:auto;aspect-ratio:1}
.poster-line{height:4px;margin-inline:4px;background:repeating-linear-gradient(90deg,currentColor 0 2px,transparent 2px 5px);opacity:.55}
.art-caption{position:absolute;bottom:20px;left:25px;display:flex;gap:8px;align-items:center;font-size:.82rem;font-weight:750;color:#4b415c}
.art-caption span{width:9px;height:9px;background:#d8edaa;border:1px solid #465136;border-radius:50%}

.features{scroll-margin-top:20px;border-top:1px solid var(--line);padding-block:37px 48px}
.section-intro{display:flex;justify-content:space-between;gap:14px;align-items:baseline;margin-bottom:23px}
.section-intro p,.home-bottom p{color:var(--muted)}
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.feature-grid article{background:var(--white);border:1px solid var(--line);border-radius:14px;padding:21px 23px 23px}
.feature-grid h3{margin:16px 0 7px}
.feature-grid p{color:var(--muted);line-height:1.48}
.feature-icon{display:inline-grid;place-items:center;width:45px;height:45px;border-radius:10px;color:var(--ink);border:1px solid #25261d17}
.feature-lime{background:#e5f3c2}
.feature-lilac{background:var(--lilac)}
.feature-peach{background:var(--peach)}
.home-bottom{display:flex;justify-content:space-between;align-items:center;gap:24px;background:#e9efdb;border:1px solid #d4ddc6;padding:28px 31px;margin-bottom:56px;border-radius:14px}
.home-bottom h2{font-size:clamp(1.5rem,3.8vw,2.13rem);margin-bottom:7px}
.site-footer{border-top:1px solid var(--line)}
.footer-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-block:22px;color:var(--muted)}
.footer-row .brand{font-size:1.25rem;color:var(--ink)}
.footer-row .brand img{width:29px;height:29px}
.footer-row p,.footer-row>a:last-child{font-size:.875rem}
.footer-row>a:last-child:hover{text-decoration:underline}

.inner{padding-block:47px 65px}
.page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:25px}
.page-heading h1,.login-card h1,.inner>h1{font-size:clamp(2.55rem,5vw,4.5rem);letter-spacing:-.073em;overflow-wrap:anywhere}
.page-heading p{color:var(--muted);margin-top:7px}
.studio-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:22px;align-items:start}
.editor{display:grid;gap:15px}
.editor-card{border:1px solid var(--line);border-radius:15px;background:var(--white);padding:23px}
.editor-card h2,.library h2,.account-card h2{font-size:1.44rem}
.content-card h2{margin-bottom:17px}
label,.control-set>span{display:block;font-size:.89rem;font-weight:750}
input:not([type=checkbox],[type=range],[type=color],[type=file]),select,textarea{
  display:block;width:100%;min-height:45px;background:#fff;border:1px solid #cdd1c3;border-radius:8px;
  padding:10px 11px;margin-top:5px;font-size:.97rem;font-weight:500
}
input::placeholder,textarea::placeholder{color:#676b5e;opacity:1}
select{appearance:none;padding-right:34px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2344483c' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 11px center;background-size:16px}
textarea{min-height:105px;resize:vertical}
.field{margin-top:13px}
.field .muted{font-weight:500}
.inline-error,.preview-warning{color:#8c2d2e;background:#fff0ed;border:1px solid #f0c8c5;border-radius:8px;font-size:.9rem;padding:9px 11px;margin-top:10px}
.editor-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}
.design-card>.editor-heading{margin-bottom:9px}
.preset-picker{margin-bottom:13px}
.drawer{border-top:1px solid var(--line)}
.drawer summary{min-height:56px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:750;list-style:none}
.drawer summary>span{display:flex;align-items:center;gap:10px}
.drawer summary::-webkit-details-marker{display:none}
.drawer[open] summary>svg{transform:rotate(180deg)}
.drawer-body{display:grid;gap:13px;padding:0 0 17px}
.drawer:last-child:not([open]) summary{min-height:47px;padding-top:7px}
.control-set>span{margin-bottom:6px}
.shape-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.shape-button{display:flex;min-height:49px;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:5px 2px;background:#fbfaf6;border:1px solid #dedfd5;border-radius:7px;font-size:.8rem;font-weight:650}
.shape-button:hover{border-color:#a8b591}
.shape-button[aria-pressed=true]{background:#edf6d9;border-color:#a7bc7d}
.shape-mark{display:block;background:#3d4234;width:14px;height:14px;border-radius:1px}
.shape-circle{border-radius:50%}.shape-rounded{border-radius:4px}
.shape-rectangle{width:18px;height:11px}.shape-diamond{width:11px;height:11px;transform:rotate(45deg)}
.shape-triangle{clip-path:polygon(50% 0,100% 100%,0 100%)}
.shape-eye{background:transparent;border:2px solid #3d4234;position:relative}
.shape-eye::after{content:"";position:absolute;inset:2px;background:#3d4234;border-radius:inherit}
.two-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.swatches{display:flex;flex-wrap:wrap;gap:9px}
.swatch{display:grid;place-items:center;width:44px;height:44px;background:var(--swatch-bg);border:1px solid #24242136;border-radius:50%}
.swatch i{width:19px;height:19px;background:var(--swatch-ink);border-radius:50%}
.swatch:hover{outline:2px solid var(--swatch-ink);outline-offset:2px}
.color-field{display:flex;align-items:center;gap:8px;margin-top:5px;min-height:44px;padding:5px 8px;background:white;border:1px solid #cdd1c3;border-radius:8px}
input[type=color]{border:0;background:transparent;width:28px;height:28px;padding:0}
.color-field code{font-size:.83rem;color:#4a4d41}
.checkbox{display:flex;align-items:center;gap:8px;min-height:37px}
input[type=checkbox]{width:18px;height:18px;accent-color:#5b7333;margin:0}
.slider>span{display:flex;justify-content:space-between;align-items:center;gap:4px}
.slider output{font-weight:600;color:var(--muted)}
input[type=range]{width:100%;height:30px;accent-color:#526830;margin:4px 0 0}
.file-control{display:flex;align-items:center;justify-content:center;gap:9px;min-height:58px;border:1px dashed #aeb39e;border-radius:9px;background:#f7f8ee;cursor:pointer;position:relative}
.file-control:focus-within{outline:3px solid #6840b1;outline-offset:3px}
.file-control input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}
.drawer-body .field{margin:0}
.preview{position:sticky;top:20px}
.preview-header{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:14px}
.preview-status{background:#eef3df;border:1px solid #d6debf;border-radius:100px;padding:3px 9px;font-size:.8rem;color:#3b5222;font-weight:750}
.preview-board{
  display:grid;place-items:center;aspect-ratio:1.1;border:1px solid #deded2;border-radius:10px;padding:22px;
  background:radial-gradient(#cbd0bf 1px,transparent 1px) 0 0/13px 13px,#f1f2ea;
}
.preview-board img{display:block;width:100%;max-width:290px;max-height:100%;aspect-ratio:1;object-fit:contain;filter:drop-shadow(0 4px 9px #24291e18)}
.preview-options{margin-top:5px}
.export-meta{margin:7px 0 12px;font-size:.82rem;color:var(--muted);text-align:right}
.preview-tip{text-align:center;margin-top:10px}

.modal{width:min(100% - 30px,460px);border:1px solid #a9ad9b;border-radius:16px;color:var(--ink);background:var(--white);padding:22px;box-shadow:0 16px 65px #1a201d3d}
.modal::backdrop{background:#272b20a6}
.modal-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:8px}
.modal h2{font-size:1.68rem}
.modal>p:not(.inline-error){color:var(--muted)}
.modal-actions{display:grid;gap:8px;margin-top:18px}
.modal form{margin-top:14px}
.modal form .button{margin-top:12px}
.icon-button{width:42px;height:42px;flex:none;display:grid;place-items:center;border:1px solid var(--line);background:var(--paper);border-radius:8px}
.toast{position:fixed;z-index:6;bottom:20px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 32px);padding:11px 15px;background:var(--ink);color:white;border-radius:9px;box-shadow:0 6px 26px #24271c41}

.login-main{display:grid;place-items:center;padding-block:45px 55px}
.login-card{width:min(100%,475px);padding:27px 29px;border:1px solid var(--line);border-radius:16px;background:var(--white)}
.login-card h1{font-size:clamp(2.15rem,5vw,3rem);margin:13px 0 7px}
.login-card>p{margin-bottom:14px;color:var(--muted)}
.login-card p.inline-error{color:#8c2d2e}
.login-card form{border-top:1px solid var(--line);margin:17px 0 10px;padding-top:15px}
.login-card form button,.login-card>.button+.button{margin-top:9px}
.dashboard-top,.stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:23px}
.account-card{min-width:0;display:flex;justify-content:space-between;align-items:center;gap:12px;background:#e8f2d3;border:1px solid #d2dfb5;border-radius:13px;padding:19px 21px}
.account-card strong{display:block;font-family:var(--heading);font-size:3.3rem;line-height:1.04;letter-spacing:-.075em;margin:6px 0 4px}
.account-card p{color:#4c5540}
.preset-card{background:#efe8f8;border-color:#e2d8f0;align-items:flex-start}
.preset-card p{margin-top:7px}
.preset-list{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0 0;padding:0;list-style:none}
.preset-list a{display:block;border:1px solid #cfc0e4;background:#fcf8ff;border-radius:7px;padding:5px 9px;font-size:.9rem;font-weight:700;overflow-wrap:anywhere}
.preset-list a:hover{text-decoration:underline}
.library{border:1px solid var(--line);border-radius:13px;background:var(--white);padding:17px 21px}
.code-list{list-style:none;margin:6px 0 0;padding:0}
.code-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:10px 0;border-top:1px solid var(--line)}
.code-icon{display:grid;place-items:center;border-radius:8px;background:#edf0e4;width:38px;height:38px}
.code-name{display:grid;gap:1px}
.code-name strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.code-name span{font-size:.86rem;color:var(--muted)}
.code-kind{padding:3px 8px;background:#f1f0eb;border:1px solid #e1e0d4;border-radius:100px;white-space:nowrap;font-size:.81rem;font-weight:700}
.code-kind.tracked{background:#eaf2da;border-color:#d7e2bd;color:#43562e}
.code-actions{display:flex;flex-wrap:wrap;gap:6px}
.empty{padding:33px 12px 26px;text-align:center}
.empty>svg{color:#607145}
.empty h3{margin-top:5px}
.empty p{color:var(--muted);margin:7px 0 12px}
.more{margin-top:10px}
.banner{padding:10px 13px;background:#f2edfb;border:1px solid #ded3ef;border-radius:8px;margin-bottom:12px}
.dash-stats .back{margin-top:-14px;margin-bottom:8px}
.stats-grid{grid-template-columns:1fr 1fr 1.6fr}
.stats-grid .account-card{align-items:flex-start}
.stats-grid .scan-link{background:#efe8f8;border-color:#e2d8f0;align-items:flex-end}
.scan-link div{min-width:0;flex:1}
.scan-link input{margin-top:10px!important}
.chart-card>p{margin-top:6px}
.chart-columns{display:grid;grid-template-columns:repeat(30,minmax(0,1fr));gap:4px;align-items:end;min-height:185px;margin-top:13px;border-bottom:1px solid #b4b9a8;background:repeating-linear-gradient(to top,transparent 0 44px,#e9eae2 44px 45px)}
.chart-column{height:185px;display:flex;align-items:end}
.chart-column i{height:var(--height);width:100%;border-radius:3px 3px 0 0;background:#68804b}
.chart-axis{display:flex;justify-content:space-between;margin-top:4px;font-size:.83rem;color:var(--muted)}
.chart-table{margin-top:16px;font-size:.9rem}
.chart-table table{width:100%;text-align:left;border-collapse:collapse;margin-top:8px}
.chart-table td,.chart-table th{border-bottom:1px solid var(--line);padding:5px}
.dash-stats>p{margin-top:13px}
.scan-page{max-width:640px;margin:65px auto;padding-inline:24px}
.scan-page h1{font-size:clamp(2rem,5vw,3.6rem);margin:20px 0 13px;overflow-wrap:anywhere}
.scan-page p{white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:13px}

@media(max-width:1020px){
  .wrap{width:min(100% - 48px,1184px)}.hero{gap:30px;padding-block:53px 45px}
  .hero-art{min-height:370px}.poster{top:15%}.poster-purple{top:34%}
}
@media(max-width:780px){
  .hero h1{font-size:clamp(3.3rem,8.9vw,5rem)}
  .hero-art{min-height:320px}.poster{padding:9px}.poster-green{top:17%}.poster-purple{top:37%}
  .feature-grid{gap:8px}.feature-grid article{padding:15px 13px}.feature-grid h3{font-size:1.18rem}
  .editor-card{padding:15px}.studio-grid{gap:12px;grid-template-columns:1fr minmax(0,.83fr)}
  .stats-grid{grid-template-columns:1fr 1fr}.stats-grid .scan-link{grid-column:1/-1}
}
@media(max-width:620px){
  .wrap{width:calc(100% - 32px)}.nav{height:66px;gap:10px;grid-template-columns:auto 1fr auto}
  .nav nav{gap:12px;justify-content:center;font-size:.82rem}.brand{font-size:1.34rem;gap:6px}.brand img{width:31px;height:31px}
  .nav-account .button{padding-inline:9px}
  .hero{grid-template-columns:1fr;gap:22px;padding-block:34px 31px}.hero-copy{padding-bottom:0}
  .hero h1{font-size:clamp(3.1rem,12vw,4.7rem);margin:15px 0 12px;max-width:8.5em}.hero-copy p{margin-bottom:17px}
  .hero-art{min-height:0;aspect-ratio:1.24;max-height:390px}.poster-green{top:11%}.poster-purple{top:32%}
  .poster-heading b{font-size:clamp(.71rem,3.2vw,1.14rem)}.poster-purple .poster-heading b{font-size:clamp(.85rem,4vw,1.35rem)}
  .poster-heading span{font-size:clamp(.4rem,1.45vw,.55rem)}.art-caption{bottom:13px;left:14px}.top-left{top:14px;left:14px}.bottom-right{bottom:14px;right:14px}
  .features{padding-block:26px 35px}.section-intro{display:grid;gap:5px;margin-bottom:15px}.feature-grid{grid-template-columns:1fr;gap:8px}
  .feature-grid article{padding:16px}.feature-grid h3{margin:10px 0 5px}
  .home-bottom{padding:18px;margin-bottom:34px;align-items:flex-start;flex-direction:column;gap:13px}
  .footer-row{flex-wrap:wrap;gap:8px 14px}.footer-row p{order:2;width:100%}
  .inner{padding-block:30px 42px}.page-heading{align-items:flex-start;flex-direction:column;margin-bottom:16px}
  .studio-grid{grid-template-columns:minmax(0,1fr)}.preview{position:static}.preview-board{aspect-ratio:1.2}
  .dashboard-top{grid-template-columns:minmax(0,1fr)}.account-card{padding:15px}
  .library{padding:12px}.code-row{gap:7px}.code-actions{grid-column:2/-1}
  .login-main{padding-block:28px 35px}.login-card{padding:19px}
}
@media(max-width:345px){.nav nav a:first-child{display:none}.shape-button{font-size:.73rem}.section-intro p{font-size:.95rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
