:root{--bg:#f7f7f5;--surface:#fff;--ink:#16181d;--muted:#5b6170;--line:#e4e4e0;--accent:#4338ca;--accent-ink:#fff;--accent-soft:#eef0ff;--soon-bg:#fff4d6;--soon-ink:#7a4b00;--radius:14px;--shadow:0 1px 2px #16181d0d, 0 8px 24px #16181d0f;--font:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}body{background:var(--bg);color:var(--ink);font-family:var(--font);flex-direction:column;min-height:100vh;margin:0;font-size:16px;line-height:1.55;display:flex}h1,h2,h3,p{margin:0}h1,h2,h3{letter-spacing:-.015em;text-wrap:balance;line-height:1.2}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}:focus-visible{outline:3px solid var(--accent);outline-offset:2px;border-radius:6px}.container{width:100%;max-width:1160px;margin:0 auto;padding:0 20px}.main{flex-direction:column;flex:1;gap:56px;padding-top:32px;padding-bottom:72px;display:flex}.skip-link{background:var(--ink);color:#fff;z-index:20;border-radius:8px;padding:10px 14px;position:absolute;top:-60px;left:12px}.skip-link:focus{top:12px}.site-header{background:var(--surface);border-bottom:1px solid var(--line);z-index:10;position:sticky;top:0}.header-row{justify-content:space-between;align-items:center;gap:16px;height:60px;display:flex}.logo{letter-spacing:-.03em;align-items:center;gap:10px;font-size:1.25rem;font-weight:750;display:inline-flex}.logo-mark{background:var(--accent);width:34px;height:34px;color:var(--accent-ink);letter-spacing:-.05em;border-radius:9px;place-items:center;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.8rem;font-weight:700;display:inline-grid}.lang-switch{border:1px solid var(--line);background:var(--surface);border-radius:999px;align-items:center;gap:8px;min-height:40px;padding:0 14px;font-size:.92rem;font-weight:600;transition:border-color .15s,background .15s;display:inline-flex}.lang-switch:hover{border-color:var(--accent);background:var(--accent-soft)}.category-nav{border-top:1px solid var(--line)}.category-nav-row{scrollbar-width:none;gap:4px;display:flex;overflow-x:auto}.category-nav-row::-webkit-scrollbar{display:none}.category-nav-row a{color:var(--muted);white-space:nowrap;border-bottom:2px solid #0000;flex:none;padding:11px 12px;font-size:.92rem;font-weight:550}.category-nav-row a:first-child{padding-left:0}.category-nav-row a:hover{color:var(--ink)}.category-nav-row a[aria-current=page]{color:var(--accent);border-bottom-color:var(--accent)}.eyebrow{letter-spacing:.08em;text-transform:uppercase;color:var(--accent);font-size:.8rem;font-weight:700;display:inline-block}.section-title{margin-bottom:20px;font-size:1.5rem}.button{background:var(--accent);min-height:48px;color:var(--accent-ink);font:inherit;cursor:pointer;border:0;border-radius:12px;justify-content:center;align-items:center;padding:0 22px;font-weight:650;transition:filter .15s;display:inline-flex}.button:hover{filter:brightness(1.1)}.button:disabled{color:#6b7080;cursor:not-allowed;filter:none;background:#e7e7e3}.button-block{width:100%}.badge{border-radius:999px;align-items:center;padding:4px 10px;font-size:.78rem;font-weight:700;line-height:1.3;display:inline-flex}.badge-soon{background:var(--soon-bg);color:var(--soon-ink)}.price{font-variant-numeric:tabular-nums;font-size:1.05rem;font-weight:750}.price-large{letter-spacing:-.02em;font-size:1.9rem}.empty{text-align:center;color:var(--muted);background:var(--surface);border:1px dashed var(--line);border-radius:var(--radius);padding:40px 20px}.breadcrumb{color:var(--muted);flex-wrap:wrap;gap:8px;margin-bottom:-32px;font-size:.9rem;display:flex}.breadcrumb a:hover{color:var(--accent);text-decoration:underline}.breadcrumb [aria-current=page]{color:var(--ink)}.hero{color:#fff;background:radial-gradient(circle at 85% 15%,#0ea5e959,#0000 45%),radial-gradient(circle at 10% 100%,#db27774d,#0000 45%),#1e1b4b;border-radius:24px;flex-direction:column;align-items:flex-start;gap:18px;padding:56px 40px;display:flex}.hero .eyebrow{color:#c7d2fe}.hero h1{letter-spacing:-.03em;max-width:18ch;font-size:clamp(2rem,5vw,3.25rem)}.hero p{color:#dcdcf5;max-width:58ch;font-size:1.1rem}.hero .button{color:#1e1b4b;background:#fff;margin-top:6px}.category-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px;display:grid}.category-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);grid-template-columns:auto 1fr;align-items:start;gap:6px 14px;padding:18px;transition:border-color .15s,box-shadow .15s,transform .15s;display:grid}.category-card:hover{border-color:var(--tint,var(--accent));box-shadow:var(--shadow);transform:translateY(-2px)}.category-icon{background:var(--tint-soft,var(--accent-soft));width:46px;height:46px;color:var(--tint,var(--accent));border-radius:12px;grid-row:span 2;place-items:center;display:inline-grid}.category-card-text{flex-direction:column;gap:2px;display:flex}.category-card-text strong{font-size:1.05rem}.category-card-text span{color:var(--muted);font-size:.92rem}.category-count{color:var(--muted);font-size:.82rem;font-weight:600}.tint-apps{--tint:#4338ca;--tint-soft:#eef0ff}.tint-graphics{--tint:#be185d;--tint-soft:#fdeef5}.tint-licenses{--tint:#047857;--tint-soft:#e6f6ef}.tint-courses{--tint:#6d28d9;--tint-soft:#f2ecfe}.tint-source-code{--tint:#0f766e;--tint-soft:#e4f4f2}.tint-ebooks{--tint:#b45309;--tint-soft:#fdf1e2}.product-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:20px;display:grid}.product-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);transition:box-shadow .15s,transform .15s;overflow:hidden}.product-card:hover{box-shadow:var(--shadow);transform:translateY(-2px)}.product-card-link{flex-direction:column;height:100%;display:flex}.cover-frame{aspect-ratio:4/3;background:#ecece8;position:relative;overflow:hidden}.cover{object-fit:cover;width:100%;height:100%}.cover-empty{background:linear-gradient(135deg,#c7d2fe,#e0e7ff)}.cover-frame .badge{position:absolute;top:12px;left:12px;box-shadow:0 1px 3px #00000026}.product-card-body{flex-direction:column;flex:1;gap:6px;padding:16px;display:flex}.product-card-category{letter-spacing:.05em;text-transform:uppercase;color:var(--accent);font-size:.78rem;font-weight:700}.product-card-body h3{font-size:1.08rem}.product-card-body p{color:var(--muted);font-size:.93rem}.product-card-body .price{margin-top:auto;padding-top:8px}.category-header{flex-wrap:wrap;align-items:center;gap:16px;margin-bottom:-24px;display:flex}.category-header h1{font-size:clamp(1.7rem,4vw,2.3rem)}.category-header p{color:var(--muted);margin-top:4px}.category-header .category-count{margin-left:auto}.product-detail{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:start;gap:32px 48px;display:grid}.product-detail-cover{border:1px solid var(--line);border-radius:20px}.product-detail-info{flex-direction:column;gap:12px;display:flex}.product-detail-info h1{font-size:clamp(1.8rem,4vw,2.5rem)}.lead{color:var(--muted);font-size:1.12rem}.buy-box{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);flex-direction:column;gap:14px;margin-top:12px;padding:20px;display:flex}.buy-box-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.note{color:var(--muted);font-size:.88rem}.product-description{flex-direction:column;grid-column:1;gap:14px;max-width:68ch;display:flex}.product-description h2{font-size:1.3rem}.product-description p{color:#333845;white-space:pre-line}.message-page{text-align:center;flex-direction:column;align-items:center;gap:14px;max-width:520px;margin:48px auto;display:flex}.message-page h1{font-size:2rem}.message-page p{color:var(--muted)}.site-footer{border-top:1px solid var(--line);background:var(--surface);color:var(--muted);font-size:.9rem}.footer-row{flex-wrap:wrap;justify-content:space-between;gap:8px;padding-top:22px;padding-bottom:22px;display:flex}@media (max-width:820px){.main{gap:44px;padding-top:24px}.hero{border-radius:18px;padding:36px 22px}.product-detail{grid-template-columns:minmax(0,1fr)}.breadcrumb{margin-bottom:-24px}.category-header .category-count{width:100%;margin-left:0}}@media (max-width:420px){.product-grid,.category-grid{grid-template-columns:minmax(0,1fr)}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}.header-actions{align-items:center;gap:10px;display:flex}.account-link{border-radius:999px;align-items:center;gap:8px;min-height:40px;padding:0 12px;font-size:.92rem;font-weight:600;display:inline-flex}.account-link:hover{background:var(--accent-soft);color:var(--accent)}.button-secondary{background:var(--surface);color:var(--ink);border:1px solid var(--line)}.button-secondary:hover{filter:none;border-color:var(--accent)}.link-button{font:inherit;color:var(--muted);cursor:pointer;background:0 0;border:0;padding:8px 0;font-size:.9rem;text-decoration:underline}.link-button:hover{color:#b42318}.narrow{flex-direction:column;gap:12px;width:100%;max-width:460px;margin:24px auto 0;display:flex}.narrow h1,.order-layout h1,.account-header h1{font-size:clamp(1.7rem,4vw,2.2rem)}.form-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);flex-direction:column;gap:16px;margin-top:12px;padding:24px;display:flex}.form-card h2{font-size:1.2rem}.field{flex-direction:column;gap:6px;min-width:0;display:flex}.field label{font-size:.92rem;font-weight:600}.field-optional{color:var(--muted);font-weight:400}.field input:not([type=checkbox]),.field textarea{width:100%;min-height:46px;color:var(--ink);font:inherit;background:#fff;border:1px solid #c9c9c4;border-radius:10px;padding:10px 12px}.field textarea{resize:vertical}.field input:focus-visible,.field textarea:focus-visible{outline:3px solid var(--accent);outline-offset:1px;border-color:var(--accent)}.field [aria-invalid=true]{border-color:#b42318}.field-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.field-hint{color:var(--muted);font-size:.85rem}.field-error,.form-error{color:#b42318;font-size:.88rem;font-weight:600}.form-error{background:#fef3f2;border:1px solid #fecdca;border-radius:10px;padding:10px 12px}.checkbox{color:var(--muted);cursor:pointer;align-items:flex-start;gap:10px;display:flex;font-size:.9rem!important;font-weight:400!important}.checkbox input{width:20px;height:20px;accent-color:var(--accent);flex:none;margin:2px 0 0}.form-switch{color:var(--muted);text-align:center;font-size:.92rem}.form-switch a{color:var(--accent);font-weight:600}.form-switch a:hover{text-decoration:underline}.order-layout{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);align-items:start;gap:40px;display:grid}.order-layout>div{flex-direction:column;gap:12px;display:flex}.order-summary{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);flex-direction:column;gap:12px;padding:20px;display:flex;position:sticky;top:132px}.order-summary h2{font-size:1.1rem}.order-summary .cover-frame{border-radius:10px}.order-summary p{color:var(--muted);font-size:.93rem}.order-total{border-top:1px solid var(--line);justify-content:space-between;align-items:baseline;padding-top:12px;display:flex}.account-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.notice{color:#085d3a;background:#ecfdf3;border:1px solid #abefc6;border-radius:10px;margin-bottom:16px;padding:12px 16px;font-weight:600}.empty .button{margin-top:16px}.order-list{flex-direction:column;gap:16px;margin:0;padding:0;list-style:none;display:flex}.order-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);flex-direction:column;gap:12px;padding:20px;display:flex}.order-card-new{border-color:#17b26a;box-shadow:0 0 0 3px #d1fadf}.order-card-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.order-card h3{font-size:1.1rem}.order-card h3 a:hover{color:var(--accent);text-decoration:underline}.order-meta{color:var(--muted);margin-top:4px;font-size:.9rem}.mono,.license code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.status-pending{color:#7a4b00;background:#fff4d6}.status-awaiting_payment{color:#2d3282;background:#e0eaff}.status-paid{color:#085d3a;background:#d1fadf}.status-cancelled{color:#4b5060;background:#ececea}.order-action{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.license{color:var(--muted);flex-direction:column;align-items:flex-start;gap:6px;font-size:.9rem}.license code{color:var(--ink);-webkit-user-select:all;user-select:all;word-break:break-all;background:#f2f2ef;border:1px dashed #b9b9b3;border-radius:8px;padding:10px 14px;font-size:1rem}@media (max-width:820px){.order-layout{grid-template-columns:minmax(0,1fr)}.order-summary{order:-1;position:static}.field-row{grid-template-columns:minmax(0,1fr)}}@media (max-width:480px){.account-link{padding:0 8px}.lang-switch{padding:0 10px}}.note-ok{color:#085d3a;font-weight:600}
