:root{color-scheme:light;--ink:#211c36;--muted:#615d73;--primary:#6243d9;--border:#e8e3f3;--surface:#faf8ff;--radius:18px;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Hiragino Sans",Meiryo,sans-serif;color:var(--ink);scroll-behavior:smooth}
*{box-sizing:border-box}body{margin:0;background:#fdfcff}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button[hidden],[hidden]{display:none!important}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #886aff;outline-offset:3px}svg{width:21px;height:21px;vertical-align:middle;flex:none}h1,h2,h3,p{margin:0}p{line-height:1.75;color:var(--muted)}.wrap{width:min(1160px,calc(100% - 56px));margin-inline:auto}.top{background:#fff;border-bottom:1px solid #eeebf6;position:relative;z-index:1}.top-inner{display:flex;min-height:70px;align-items:center;justify-content:space-between;gap:12px}.brand{display:inline-flex;align-items:center;gap:10px;font-size:23px;letter-spacing:-.06em;font-weight:800;white-space:nowrap}.logomark{display:grid;place-items:center;background:var(--primary);color:white;border-radius:11px;width:37px;height:37px}.brand-accent{color:var(--primary)}.top-nav{display:flex;align-items:center;gap:13px;font-size:.875rem;font-weight:700}.top-tools{margin-inline-end:10px}.icon-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--border);border-radius:9px;color:var(--ink);background:white;padding:8px 12px;min-height:42px}.icon-button svg{width:17px;height:17px}.wall-button{background:#f3eeff;color:#5133b4;border-color:#eadfff}.hero{position:relative;background:radial-gradient(ellipse at 75% 40%,#ece3ff 0%,#f1ecff 33%,#faf7ff 75%);border-bottom:1px solid #eee7fa;overflow:hidden}.hero-inner{display:grid;grid-template-columns:1.2fr .8fr;min-height:365px;position:relative;gap:15px;align-items:center}.hero-content{padding-block:43px;z-index:1}.local-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border:1px solid #e1d7fc;background:#f8f4ff;color:#5036aa;border-radius:999px;font-size:.875rem;font-weight:750}.local-badge svg{width:17px;height:17px}.hero h1{font-size:clamp(2.2rem,5.15vw,4.25rem);letter-spacing:-.066em;line-height:1.17;margin:16px 0}.hero h1 em{font-style:normal;color:var(--primary)}.hero p{margin-bottom:23px;font-size:1.02rem}.button{display:inline-flex;align-items:center;justify-content:center;text-align:center;padding:11px 18px;min-height:45px;border-radius:10px;border:1px solid transparent;font-weight:750;cursor:pointer}.primary{background:var(--primary);color:#fff;box-shadow:0 5px 12px #5831cf25}.primary:hover{background:#5232c5}.secondary{background:#fff;border-color:var(--border);color:var(--ink)}.secondary:hover,.icon-button:hover{border-color:#af9fea}
.hero-art{height:320px;position:relative;isolation:isolate}.orbit{position:absolute;border:1px solid #d8c9f5;border-radius:50%;width:290px;height:270px;left:50%;top:50%;transform:translate(-50%,-50%) rotate(-20deg)}.orbit-two{width:355px;height:306px;border-color:#e3d7f9}.paper{position:absolute;top:47%;left:49%;border-radius:14px;width:135px;height:172px;box-shadow:0 15px 36px #5436a32f}.paper-back{background:#b097f0;transform:translate(-41%,-51%) rotate(20deg)}.paper-front{background:linear-gradient(145deg,#fff,#f7f2ff);transform:translate(-61%,-48%) rotate(-13deg);overflow:hidden;padding:48px 19px 15px;border:1px solid #fff}.paper-front i{position:absolute;top:0;right:0;border:18px solid #dcd0fc;border-top-color:#ede5ff;border-right-color:#ede5ff;border-bottom-left-radius:9px}.paper-front b{display:inline-block;background:#e7dcff;color:#623dd4;padding:4px 8px;border-radius:6px;font-size:24px}.paper-front span{display:block;width:85%;height:5px;border-radius:9px;background:#ddd1f9;margin-top:10px}.paper-front span:last-child{width:57%}.art-shield{display:grid;place-items:center;position:absolute;top:63%;left:64%;background:var(--primary);color:white;width:62px;height:62px;border-radius:19px;transform:rotate(10deg);box-shadow:0 9px 18px #6b48ce4f}.art-shield svg{width:31px;height:31px}.spark{position:absolute;color:#805be7;font-size:2rem}.spark-one{left:20%;top:24%}.spark-two{right:13%;top:29%}
.tool-section{padding-block:39px 28px;scroll-margin-top:22px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:15px;margin-bottom:20px}.section-heading h2{font-size:clamp(1.6rem,3vw,2.15rem);letter-spacing:-.04em;margin-bottom:4px}.section-heading p{font-size:.95rem}.filters{display:flex;gap:4px;background:#fff;border:1px solid var(--border);padding:4px;border-radius:11px}.filters button{white-space:nowrap;border:0;background:none;color:var(--muted);border-radius:8px;padding:7px 11px;font-size:.875rem;min-height:40px}.filters button[aria-pressed=true]{background:#eee8ff;color:#5030ad;font-weight:750}.tool-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.tool-card{display:block;position:relative;border:1px solid var(--border);background:#fff;border-radius:15px;padding:16px;min-height:139px;box-shadow:0 2px 5px #31176f06;transition:box-shadow .18s,border-color .18s}.tool-card:hover{border-color:#ac96f2;box-shadow:0 8px 20px #321b7217}.tool-icon{display:inline-grid;place-items:center;width:43px;height:43px;border-radius:11px}.organize{background:#ede6ff;color:#6243ca}.convert{background:#e5f0ff;color:#225dad}.edit{background:#e4f6ef;color:#20755e}.card-arrow{position:absolute;right:15px;top:19px;color:#827a97}.card-arrow svg{width:16px;height:16px}.tool-card h3{font-size:1.045rem;margin:9px 0 4px}.tool-card p{font-size:.875rem;line-height:1.55}.ad-slot{display:grid;place-items:center;height:92px;background:#f9f7fc;border:1px dashed #d9d1e7;border-radius:12px;color:#6d657a;font-size:.875rem;margin-block:12px 30px}.benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:35px}.benefits>div,.prose,.guide{background:#fff;border:1px solid var(--border);padding:20px;border-radius:15px}.benefits svg{margin-right:8px;color:var(--primary)}.benefits p{font-size:.9rem;margin-top:5px}.footer{position:relative;background:#fff;border-top:1px solid var(--border)}.footer-inner{display:flex;justify-content:space-between;gap:14px;align-items:center;padding-block:22px}.footer nav{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:.875rem;color:var(--muted)}.footer button{padding:0;background:none;border:0;color:inherit;text-decoration:underline}.prose{margin-block:35px;min-height:350px}.prose h1{margin-bottom:14px}
.wall-layer,.wall-preview{isolation:isolate;background-color:#f3ecff;background-position:center;background-size:cover}.wall-layer{position:fixed;inset:0;pointer-events:none;z-index:-1;display:none}.wall-layer.active{display:block}body:has(.wall-layer.active){background:transparent;isolation:isolate}body:has(.wall-layer.active) .hero{background:#f7f1ffdb}body:has(.wall-layer.active) .section-heading{background:#fffefbf2;padding:12px;border-radius:12px}.wall-preview{height:135px;border-radius:12px;margin-block:14px;border:1px solid var(--border)}dialog{position:fixed;width:min(500px,calc(100% - 24px));max-height:90dvh;color:var(--ink);border:1px solid var(--border);border-radius:18px;padding:23px;background:#fff;box-shadow:0 18px 80px #28144944}dialog::backdrop{background:#20143570}dialog h2{padding-right:36px;margin-bottom:9px}.close{position:absolute;top:12px;right:12px}.slider{display:grid;margin-top:10px;gap:4px}.slider input{width:100%;accent-color:var(--primary)}.actions{display:flex;flex-wrap:wrap;gap:9px;margin-block:12px}.visually-hidden{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}.drop:focus-within{outline:3px solid #886aff;outline-offset:3px}
.work{max-width:850px;padding-block:24px}.back{color:#5940af;font-size:.9rem;text-decoration:underline}.work-heading{text-align:center;margin:12px 0 22px}.work-heading h1{font-size:clamp(1.85rem,5vw,3rem);margin:8px 0}.workspace{background:#fff;border:1px solid var(--border);border-radius:20px;padding:clamp(13px,3vw,25px)}.drop{padding:22px 12px;display:grid;justify-items:center;gap:11px;border:2px dashed #d9ccfa;border-radius:15px;background:#faf7ff;text-align:center}.drop.drag{background:#ece1ff;border-color:var(--primary)}.drop>svg{width:36px;height:36px;color:var(--primary)}.drop small{color:var(--muted);font-size:.875rem}.workspace h2,.guide h2{font-size:1.25rem;margin-block:14px 8px}.thumbs{display:flex;gap:10px;overflow:auto;padding:3px 2px 9px}.thumbs figure{margin:0;flex:0 0 auto;text-align:center;font-size:.875rem}.thumbs canvas,.thumbs img{display:block;width:auto;max-width:118px;height:115px;object-fit:contain;background:#f5f0fc;border:1px solid var(--border);border-radius:6px}.work label:has(input:not([type=file])),.work label:has(select){display:grid;gap:5px;margin:10px 0}.work input:not([type=file]),.work select{max-width:440px;width:100%;border:1px solid #b3a6d2;border-radius:8px;padding:9px;color:var(--ink);background:#fff}.work progress{width:100%;accent-color:var(--primary)}#status:not(:empty){margin-top:8px}#status[data-error]{color:#a42040}#file-list li{overflow-wrap:anywhere;margin-block:4px}#file-list button{margin-inline-start:6px}.guide{max-width:850px;margin-bottom:38px}.guide li{margin-block:7px}
@media(max-width:900px){.tool-grid{grid-template-columns:repeat(3,1fr)}.hero-art{transform:scale(.86)}}
@media(max-width:650px){.wrap{width:calc(100% - 30px)}.top-inner{min-height:61px}.brand{font-size:20px;gap:7px}.logomark{width:31px;height:31px}.top-nav{gap:5px}.top-tools{display:none}.icon-button{padding-inline:9px}.hero-inner{display:block;min-height:0}.hero-content{position:relative;padding-block:34px}.hero-art{display:none}.desktop{display:none}.hero h1{font-size:clamp(2.18rem,9vw,3rem)}.hero p{font-size:.95rem}.section-heading{align-items:start;flex-direction:column}.tool-section{padding-top:25px}.tool-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.tool-card{padding:12px;min-height:132px}.tool-card h3{font-size:.96rem}.tool-card p{font-size:.875rem}.benefits,.footer-inner{display:grid;grid-template-columns:1fr}.footer-inner{justify-items:start}.ad-slot{height:70px}.filters{max-width:100%;flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}

/* Keep text on a readable surface while letting the photograph show between cards. */
body:has(.wall-layer.active) .hero{background:linear-gradient(90deg,#faf7ffed 0%,#faf7ffcf 42%,#f8f2ff18 76%,#f8f2ff05 100%)}
body:has(.wall-layer.active) .section-heading{background:transparent;padding:0}
body:has(.wall-layer.active) .section-heading>div:first-child{background:#fffefcf2;border-radius:12px;padding:8px 13px}
body:has(.wall-layer.active) .footer{background:#ffffffef}
body:has(.wall-layer.active) .hero-art .orbit{border-color:#f2eaff9c}
.document-note{margin-block:12px;padding:9px 12px;border-left:3px solid #b8a6e8;background:#faf7ff;border-radius:6px;font-size:.9rem}
.page-actions{display:flex;justify-content:center;gap:4px;margin-top:3px}
.page-actions button{min-width:44px;min-height:44px;border:1px solid var(--border);background:white;border-radius:8px;color:var(--ink)}
#before figure[draggable]{cursor:grab}.thumbs{overscroll-behavior-inline:contain}.thumbs>*{min-width:0}
#file-list button{min-height:44px;padding-inline:10px;background:#fff;border:1px solid var(--border);border-radius:8px;color:var(--ink)}
.workspace,.work,.work-heading,.hero-content{min-width:0}
.work select,.work input:not([type=file]):not([type=checkbox]){font-size:16px}
.work input[type=checkbox]{width:22px;min-height:22px;accent-color:var(--primary)}
.work .button,.drop label{touch-action:manipulation}
@media(max-width:650px){
 body:has(.wall-layer.active) .hero{background:linear-gradient(105deg,#fbf8ffee 0%,#fbf8ffcc 53%,#fbf8ff25 100%)}
 body:has(.wall-layer.active) .hero-content{padding-bottom:72px}
 .top-inner{padding-block:5px;flex-wrap:wrap}.top-nav{margin-inline-start:auto}
 .work input[type=checkbox]{width:22px}.actions>*{max-width:100%}
 .work .button,.drop label{min-height:48px}.work-heading h1{overflow-wrap:anywhere}
 .workspace{padding-bottom:max(14px,env(safe-area-inset-bottom))}
}
.guide-links{background:#fff;border:1px solid var(--border);border-radius:15px;padding:18px 20px;margin-bottom:30px}.guide-links ul,.prose ul{padding-inline-start:1.3rem}.guide-links a,.prose li a{color:#5030ad;text-decoration:underline;display:inline-block;padding-block:5px}.prose p{max-width:75ch}

/* An invisible footprint preserves the ad's position as cards become more compact. */
.tool-card-slot{display:grid;align-items:start;min-width:0}
.tool-card-slot>*{grid-area:1/1}
.tool-card-footprint{visibility:hidden;pointer-events:none;min-height:139px;padding:16px;border:1px solid transparent}
.footprint-title,.footprint-description{display:block}
.footprint-title{font-size:1.045rem;font-weight:700;margin:9px 0 4px}
.footprint-description{font-size:.875rem;line-height:1.55}
.footprint-title::before,.footprint-description::before{content:attr(data-content)}
.tool-card{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;column-gap:9px;min-height:0;padding:10px 11px}
.tool-card .tool-icon{width:34px;height:34px;border-radius:9px}
.tool-card .tool-icon svg{width:19px;height:19px}
.tool-card h3{margin:0;padding-right:16px;line-height:1.3;overflow-wrap:anywhere}
.tool-card p{grid-column:1/-1;margin-top:5px;color:#40394f;line-height:1.42}
.tool-card .card-arrow{right:9px;top:11px;color:#534963}
.tool-card,body:has(.wall-layer.active) :is(.benefits,.guide-links){background:rgba(255,255,255,var(--card-alpha,.76))}
body:has(.wall-layer.active) .section-heading>div:first-child{background:#fffD}
.benefits{align-items:stretch;gap:0;margin-bottom:16px;border:1px solid var(--border);border-radius:14px;background:#faf8ff}
.benefits>div{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;padding:9px;border:0;border-radius:0;background:transparent;text-align:center;font-size:.875rem;line-height:1.3}
.benefits>div+div{border-inline-start:1px solid #a998cb55}
.benefits svg{width:17px;height:17px;margin:0;color:#4c30a3}
.guide-links{padding:0;background:#faf8ff}
.guide-links summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;padding:9px 15px;cursor:pointer;list-style:none;font-weight:750}
.guide-links summary h2{font:inherit}
.guide-links summary::-webkit-details-marker{display:none}
.guide-links summary::after{content:"";width:8px;height:8px;border-bottom:2px solid currentColor;border-right:2px solid currentColor;transform:rotate(45deg);margin-right:4px}
.guide-links[open] summary::after{transform:rotate(225deg)}
.guide-links summary:focus-visible{outline:3px solid #886aff;outline-offset:3px;border-radius:15px}
.guide-links ul{margin:0 15px 12px;padding-inline-start:20px}
.wall-preview-frame{position:relative;margin-block:14px;isolation:isolate}
.wall-preview-frame .wall-preview{margin:0}
.wall-preview-sample{position:absolute;inset:auto 10px 10px;display:flex;align-items:center;gap:7px;width:max-content;max-width:calc(100% - 20px);padding:5px 9px;border-radius:8px;border:1px solid #e6dff1;color:var(--ink);background:rgba(255,255,255,var(--card-alpha,.76));font-size:.875rem;font-weight:700}
.wall-preview-sample svg{width:17px;height:17px;color:#4c30a3}
.card-transparency-control span{display:flex;justify-content:space-between;gap:10px}
.card-transparency-control output{color:#5030ad;font-variant-numeric:tabular-nums}
@media(max-width:650px){
 .tool-card-footprint{min-height:132px;padding:12px}
 .footprint-title{font-size:.96rem}
 .tool-card{grid-template-columns:27px minmax(0,1fr);column-gap:6px;padding:8px;min-height:0}
 .tool-card .tool-icon{width:27px;height:27px;border-radius:7px}
 .tool-card .tool-icon svg{width:16px;height:16px}
 .tool-card .card-arrow{display:none}
 .tool-card h3{padding:0}
 .benefits{grid-template-columns:repeat(3,minmax(0,1fr))}
 .benefits>div{flex-direction:column;justify-content:start;gap:4px;padding:7px 4px}
}

.tool-card{grid-template-rows:auto 1fr;align-content:start;align-items:start}
.tool-card h3{align-self:center}
#wall-dialog{overflow:hidden;padding:0;max-height:min(90dvh,700px)}
#wall-dialog[open]{display:grid;grid-template-rows:minmax(0,1fr) auto}
.wall-dialog-body{overflow:auto;overscroll-behavior:contain;padding:20px 20px 8px}
.wall-dialog-actions{margin:0;padding:8px 20px max(8px,env(safe-area-inset-bottom));border-top:1px solid var(--border);background:white}
.wall-dialog-actions button{min-height:44px}
#wall-dialog .close{z-index:1}
#wall-dialog .slider small{color:var(--muted);font-size:.8rem}
@media(max-height:500px){
 .wall-dialog-body{padding-top:12px}
 .wall-preview-frame .wall-preview{height:88px}
}
.save-help{margin-top:9px;font-size:.875rem}
.article-steps{margin-top:22px}
.article-steps h2{margin-block:16px 6px;font-size:1.25rem}
.article-steps li{margin-block:5px}
.article-steps figure{margin:16px 0}
.article-steps img{display:block;width:min(100%,760px);height:auto;border:1px solid var(--border);border-radius:12px}
.article-steps figcaption{color:var(--muted);font-size:.875rem;margin-top:5px}
.article-steps a,.guide li a{color:#5030ad;text-decoration:underline}
.funding-note{font-size:.875rem;margin-block:14px 22px}

body:has(.wall-layer.active) .tool-card p{color:#292439}
body:has(.wall-layer.active) .tool-card .card-arrow{color:#3f3453}
body:has(.wall-layer.active) .hero :is(h1,p){text-shadow:0 1px 2px #fff,0 0 5px #fff9}
#wall-dialog .close{width:44px;height:44px;min-height:44px;padding:0}
#wall-dialog .slider>span{display:flex;justify-content:space-between;gap:8px}
#wall-dialog output{color:#5030ad;font-variant-numeric:tabular-nums}
.wall-scroll-hint{display:none;color:var(--muted)}
@media(max-height:610px){.wall-scroll-hint{display:block;width:100%}}
.ad-slot{align-content:center;gap:3px;text-align:center;padding-inline:10px}
.ad-slot small{font-size:.75rem;line-height:1.3}
.example-photos,.scan-compare{display:grid;gap:10px;margin-block:9px}
.example-photos{grid-template-columns:repeat(3,minmax(0,1fr));max-width:590px}
.scan-compare{grid-template-columns:repeat(2,minmax(0,1fr))}
.example-photos figure,.scan-compare figure{min-width:0;margin:0}
@media(max-width:420px){.scan-compare{grid-template-columns:1fr}}

.isolation-app{width:min(1280px,100%);margin:0 auto}
.isolation-app iframe{display:block;width:100%;height:84dvh;min-height:440px;border:0;background:#fdfcff}
.isolation-links{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 0}
.isolation-links a{text-decoration:underline}
.isolation-migration{margin:10px auto;color:#38257c}
.isolation-migration label{display:block;margin-top:9px}
