/* Kimunara Learning • v1.1 visual prototype • no external dependencies */
:root {
  --night:#090f32;
  --night2:#16225c;
  --ink:#131838;
  --muted:#535a74;
  --violet:#8662dc;
  --violet-light:#eee8ff;
  --cyan:#00cde8;
  --pink:#ed63ba;
  --gold:#ffac32;
  --paper:#f8f8ff;
  --white:#ffffff;
  --stroke:#e4e3f1;
  --shadow:0 20px 65px rgba(19,22,83,.11);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font:16px/1.65 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;background:var(--paper);color:var(--ink);-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
a:focus-visible{outline:3px solid #13cadf;outline-offset:4px;border-radius:4px}
button{font:inherit}
.container{width:min(1180px,calc(100% - 56px));margin-inline:auto}
.skip-link{position:absolute;top:-200px;left:12px;z-index:99;background:#fff;color:var(--ink);padding:10px 16px}
.skip-link:focus{top:12px}
.preview{font-size:12px;letter-spacing:.045em;background:#20294f;color:#f0ecff;text-align:center;padding:5px 10px}
.site-header{background:rgba(255,255,255,.97);position:sticky;top:0;z-index:20;border-bottom:1px solid var(--stroke);backdrop-filter:blur(12px)}
.header-row{min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:25px}
.logo-wrap{display:inline-flex;align-items:center;gap:12px;flex-shrink:0}
.brand-icon{width:54px;height:54px;object-fit:contain;flex-shrink:0}
.brand{font-size:21px;line-height:1.05;font-weight:810;letter-spacing:-.035em;color:#181b43;display:inline-block}
.brand-sub{font-size:12px;line-height:1.45;letter-spacing:.14em;font-weight:700;display:block;color:#7a57c3;margin-top:2px;text-transform:uppercase}
.nav{display:flex;align-items:center;gap:clamp(12px,2vw,33px);font-size:13px;font-weight:680}
.nav a:not(.lang-link){padding:8px 0;border-bottom:2px solid transparent}
.nav a.active{border-color:#8969dd}
.nav a:hover{color:#704dc8}
.lang-link{border:1px solid #d7d0ee;border-radius:28px;padding:7px 12px;white-space:nowrap;display:inline-flex;align-items:center;gap:7px}
.lang-link .globe{font-size:17px}
.hero{overflow:hidden;color:white;background:radial-gradient(ellipse at 73% 32%,rgba(82,60,179,.36),transparent 44%),radial-gradient(ellipse at 0 88%,rgba(29,126,181,.19),transparent 40%),linear-gradient(125deg,#060b27,#111947 70%,#20165b);position:relative}
.hero::before{content:'';position:absolute;inset:0;pointer-events:none;opacity:.25;background-image:radial-gradient(#e7dcff .8px,transparent 1px);background-size:65px 75px}
.hero-main{position:relative;display:grid;grid-template-columns:.94fr 1.06fr;align-items:center;gap:30px;min-height:595px;padding-block:75px 86px}
.eyebrow{color:#8167cc;letter-spacing:.155em;text-transform:uppercase;font-size:11px;font-weight:820;margin:0 0 22px}
.hero .eyebrow{color:#69ddf0}
.hero h1,.headline{font-size:clamp(41px,4.7vw,68px);font-weight:780;line-height:1.1;letter-spacing:-.048em;margin:0}
.hero h1{max-width:590px;color:#fff}
.hero-desc{font-size:17px;max-width:515px;color:#d8d9f0;margin:24px 0 32px}
.button-group{display:flex;gap:12px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:13px;font-weight:780;min-height:48px;padding:13px 21px;border-radius:9px;transition:transform .18s ease,box-shadow .18s ease}
.btn:hover{transform:translateY(-2px)}
.btn-dark{background:#6650be;color:#fff}
.btn-dark:hover{background:#513ba3;color:#fff;box-shadow:0 8px 20px #30226324}
.hero .btn-dark{background:linear-gradient(105deg,#2faee2,#8964e2);color:white}
.btn-outline{border:1px solid #d2cee5;background:transparent;color:#302854}
.hero .btn-outline{border:1px solid #8888ad;color:#fff}
.btn-outline:hover{background:#ffffff12}
.hero-art{position:relative;min-width:0;aspect-ratio:1.37;overflow:hidden;border-radius:24px;border:1px solid rgba(166,161,255,.3);box-shadow:0 25px 70px #02062395;background:#14123e}
.hero-art::after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#10143d30,transparent 22%)}
.hero-image{display:block;width:100%;height:100%;object-fit:cover;object-position:54% 50%}
.section{padding:83px 0}
.section-white{background:#fff}
.section-cream{background:#f4f2fe}
.section-title{font-size:clamp(34px,3.8vw,52px);max-width:800px}
.section-intro{font-size:16px;color:var(--muted);max-width:670px;margin:17px 0 0}
.focus-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:38px}
.focus-card{background:#fbfaff;border:1px solid #e8e4f8;border-radius:16px;padding:28px;min-height:211px}
.focus-icon{display:grid;place-items:center;font-size:24px;color:#8366d8;background:#eee9ff;border-radius:12px;width:49px;height:49px;margin-bottom:20px}
.focus-card h3{font-size:20px;line-height:1.35;margin:0 0 11px}
.focus-card p{font-size:14px;color:var(--muted);margin:0}
.listing{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-top:39px}
.product{border:1px solid var(--stroke);background:#fff;border-radius:16px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 6px 25px #131c5e09}
.product-art{height:165px;position:relative;overflow:hidden;display:flex;align-items:center;padding:28px}
.product-art.math{background:linear-gradient(115deg,#e4f8fa,#cbeef6 52%,#c5b7ed)}
.product-art.tools{background:linear-gradient(125deg,#ece7ff,#c9c5f1 65%,#f5def7)}
.product-art.free{background:linear-gradient(125deg,#f3f2ff,#dce6fb 65%,#d4eafa)}
.product-symbol{font-size:55px;position:relative;z-index:1;color:#34458b;font-weight:760;letter-spacing:-.045em}
.product-art::before,.product-art::after{content:'';position:absolute;border:2px solid #fff9;border-radius:50%;width:230px;height:230px;right:-25px;top:-110px}
.product-art::after{width:310px;height:310px;right:38px;top:-146px;border-color:#ffffff55}
.product-content{padding:26px;display:flex;flex-direction:column;flex:1}
.product-tags{display:flex;gap:7px;flex-wrap:wrap;color:#5d5e7f;font-size:10px;letter-spacing:.06em;text-transform:uppercase;font-weight:800}
.product-tags span{background:#f1effa;padding:4px 9px;border-radius:5px}
.product h3{font-size:20px;line-height:1.34;margin:13px 0 12px}
.product p{font-size:13px;color:var(--muted);margin:0 0 25px;flex:1}
.product-link,.text-link{font-size:13px;font-weight:790;color:#6850bb}
.product-link{border-bottom:1px solid #afa3d8;width:max-content}
.product-link:hover,.text-link:hover{color:#2d85b7}
.section-actions{display:flex;align-items:center;gap:19px;flex-wrap:wrap;margin-top:31px}
.about-band{display:grid;grid-template-columns:1.7fr 1fr;gap:60px;align-items:center}
.about-art{height:298px;border-radius:26px;background:radial-gradient(circle at 50% 37%,#8977c9,transparent 44%),linear-gradient(140deg,#11183e,#362176);position:relative;overflow:hidden}
.about-art::before{content:'✧';font-size:240px;color:#bfc5ffad;position:absolute;top:-140px;left:32%}
.about-art::after{content:'';position:absolute;inset:35px;border:1px solid #c1b6ee6b;border-radius:50%}
.about-body{font-size:17px;color:var(--muted);max-width:770px;line-height:1.8}
.statement-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:21px;margin-top:42px}
.statement{border-top:3px solid #8d6be0;padding-top:18px}
.statement h3{font-size:18px;margin:0 0 10px}
.statement p{font-size:14px;color:var(--muted);margin:0}
.contact-card{padding:32px;background:#fff;border:1px solid var(--stroke);border-radius:15px;margin-top:30px;max-width:850px}
.contact-card .email{font-size:clamp(20px,2.9vw,30px);border-bottom:1px solid #a997e4;overflow-wrap:anywhere}
.contact-card p{font-size:13px;color:var(--muted);margin:16px 0 0}
.page-hero{padding-top:80px;padding-bottom:38px}
.page-hero .headline{font-size:clamp(39px,4.5vw,60px)}
.page-hero .section-intro{margin-top:22px}
.site-footer{border-top:1px solid #ddd9f1;background:#eceaf9;padding:44px 0 24px}
.footer-row{display:grid;grid-template-columns:1.4fr 1fr;gap:30px}
.footer-caption{font-size:13px;color:var(--muted);max-width:390px;margin:13px 0 0}
.footer-links{display:flex;justify-content:flex-end;align-items:start;gap:14px;flex-wrap:wrap;font-size:12px;font-weight:700}
.footer-bottom{border-top:1px solid #d7d0eb;margin-top:36px;padding-top:20px;color:#666581;font-size:11px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.legal-draft{max-width:820px;border:1px dashed #b494dc;background:#fffafd;border-radius:12px;padding:24px 29px;margin:26px 0 70px;font-size:14px}
.legal-draft strong{display:block;margin-bottom:12px;color:#805cb1}
.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:970px){.hero-main{min-height:530px;gap:20px}.hero h1{font-size:clamp(41px,5.7vw,58px)}.header-row{min-height:76px}.nav{gap:12px}.brand{font-size:19px}}
@media(max-width:760px){.header-row{flex-wrap:wrap;justify-content:center;padding:13px 0 14px;gap:9px}.nav{width:100%;justify-content:center;gap:15px;flex-wrap:wrap}.hero-main{grid-template-columns:1fr;min-height:0;padding:58px 0 63px;gap:32px}.hero-art{width:100%;max-width:690px;aspect-ratio:1.55;margin:0 auto}.about-band{grid-template-columns:1fr}.about-art{height:210px}.focus-grid{grid-template-columns:1fr}.statement-grid{grid-template-columns:1fr}}
@media(max-width:600px){.container{width:min(100% - 36px,1180px)}.brand-icon{width:44px;height:44px}.brand{font-size:19px}.brand-sub{font-size:10px}.nav{gap:12px;font-size:12px}.nav a:not(.lang-link){padding:5px 0}.lang-link{padding:5px 9px}.hero-main{padding:49px 0 58px;gap:28px}.hero h1{font-size:clamp(39px,9vw,54px)}.hero-desc{font-size:15px;margin:20px 0 29px}.hero-art{aspect-ratio:1.1;border-radius:19px}.hero-image{object-position:54% 50%}.section{padding:62px 0}.section-title{font-size:35px}.focus-grid,.listing,.statement-grid{grid-template-columns:1fr}.focus-card{min-height:0}.page-hero{padding-top:60px}.footer-row{grid-template-columns:1fr}.footer-links{justify-content:flex-start}.site-footer{padding-top:36px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn{transition:none}.btn:hover{transform:none}}

/* v1.2 — real catalog */
.product-image-link{display:block;overflow:hidden;background:#161a40;aspect-ratio:1/1;position:relative}
.product-image{display:block;object-fit:cover;width:100%;height:100%;transition:transform .22s ease}
.product-image-link:hover .product-image{transform:scale(1.028)}
.product-language{font-size:12px;font-weight:720;color:#5b478c;margin-top:13px}
.product .product-content{padding:22px 24px 25px}
.product .product-tags{font-size:10px;letter-spacing:.015em}
.product .product-tags span{border-radius:6px;padding:5px 9px}
.product .product-tags .tag-free{background:#e1f7ec;color:#146c47}
.product .product-tags .tag-paid{background:#e8e6fa;color:#5143a3}
.product h3{font-size:19px;margin:9px 0 11px}
.product[hidden],.no-results[hidden]{display:none !important}
.catalog-filters{border:1px solid #ddd8f1;border-radius:19px;padding:26px;background:#fff}
.filter-top h2{font-size:23px;line-height:1.3;letter-spacing:-.025em;margin:0 0 8px}
.filter-top p{font-size:13px;color:var(--muted);margin:0}
.filter-controls{display:grid;grid-template-columns:1.5fr 1fr 1.1fr .9fr;gap:12px;margin-top:26px}
.filter-controls label{display:flex;flex-direction:column;gap:7px;font-weight:720;font-size:12px;color:#34355e}
.filter-controls input,.filter-controls select{width:100%;min-width:0;min-height:46px;border:1px solid #ccc9e5;border-radius:9px;background:#fafaff;color:#242647;font-size:13px;padding:9px 12px}
.filter-controls input:focus-visible,.filter-controls select:focus-visible{outline:3px solid #51c2e8;outline-offset:2px}
.filter-result{display:flex;justify-content:space-between;align-items:center;gap:18px;padding-top:14px;font-size:13px}
.filter-result p{margin:0;font-weight:700;color:#575476}
.filter-result button{background:transparent;border:0;color:#5943b0;font-weight:750;padding:6px 4px;cursor:pointer}
.filter-result button:hover{text-decoration:underline}
.no-results{padding:30px 0 0;color:#665a83;font-size:14px}
.section-catalog{padding-top:8px}
.listing{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:32px}
@media(max-width:1060px){.filter-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.listing{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.filter-controls,.listing{grid-template-columns:1fr}.catalog-filters{padding:19px}.product .product-content{padding:20px}}
@media(prefers-reduced-motion:reduce){.product-image{transition:none}.product-image-link:hover .product-image{transform:none}}

/* v1.3 · editorial/FAQ/legal, preserving approved A design */
.faq-section{max-width:880px}.faq-list{margin-top:30px;border-top:1px solid var(--stroke)}
.faq-item{border-bottom:1px solid var(--stroke);padding:19px 3px}.faq-item summary{cursor:pointer;font-size:16px;font-weight:740;color:var(--ink);padding-right:25px}.faq-item p{font-size:14px;color:var(--muted);max-width:710px;margin:12px 0 4px}.faq-item summary:focus-visible{outline:3px solid #13cadf;outline-offset:4px}
.policy-page{padding-bottom:55px}.policy-section{margin:23px 0 0}.policy-section h2{font-size:17px;color:#39315d;margin:0 0 9px}.policy-section p{line-height:1.65;margin:7px 0 12px}
.pending-note{font-weight:750;color:#794aa4!important}.contact-card .email{display:inline-block;font-weight:730;color:#282b63}

/* v1.3.2 · Layered editorial approach: short summary, deeper analysis */
#detailed-approach{scroll-margin-top:18px}
.approach-summary .section-actions{margin-top:30px}
.approach-hero{padding-bottom:64px}
.approach-summary{padding-top:56px;padding-bottom:69px}
.approach-summary .statement-grid{margin-top:32px}
.approach-intro{max-width:865px;line-height:1.75}
.approach-layout{display:grid;grid-template-columns:minmax(180px,245px) minmax(0,1fr);gap:54px;margin-top:49px;align-items:start}
.approach-toc{position:sticky;top:20px;background:#fff;border:1px solid #ded8f2;border-radius:17px;padding:24px 21px;display:flex;flex-direction:column;gap:6px}
.approach-toc h3{font-size:13px;letter-spacing:.065em;text-transform:uppercase;color:#564583;margin:0 0 12px}
.approach-toc a{display:block;color:#484566;font-size:13px;line-height:1.45;padding:8px 10px;border-radius:8px;text-decoration:none}
.approach-toc a:hover,.approach-toc a:focus-visible{background:#f0edfc;color:#442a96}
.approach-toc a:focus-visible{outline:2px solid #7856d0;outline-offset:2px}
.approach-content{min-width:0}
.approach-topic{scroll-margin-top:30px;background:#fff;border:1px solid #e0daf3;border-radius:18px;padding:33px 38px;margin-bottom:20px;box-shadow:0 7px 30px #16114806}
.approach-topic h3{font-size:clamp(20px,2.2vw,26px);line-height:1.35;color:#171b48;letter-spacing:-.025em;margin:0 0 21px}
.approach-paragraphs p{font-size:15px;line-height:1.77;color:#45465d;margin:0 0 15px}
.approach-example{border-left:3px solid #795ed2;background:#f8f6ff;border-radius:0 9px 9px 0;padding:16px 20px;margin-top:24px}
.approach-example-label{display:block;color:#5b45a5;font-size:10px;letter-spacing:.09em;font-weight:850;margin-bottom:7px}
.approach-example p{font-size:14px;color:#37335a;line-height:1.65;margin:0}
.approach-close-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:start}
.approach-close-grid .section-title{font-size:clamp(30px,3.2vw,44px)}
.approach-close-grid>p{font-size:15px;color:#48465f;line-height:1.85;margin:34px 0 0}
@media(max-width:970px){.approach-layout{grid-template-columns:1fr;gap:25px}.approach-toc{position:static;display:flex;flex-direction:row;flex-wrap:wrap;gap:6px}.approach-toc h3{flex-basis:100%;margin-bottom:4px}.approach-toc a{border:1px solid #e8e3f6}}
@media(max-width:600px){.approach-hero{padding-bottom:39px}.approach-summary{padding-top:54px;padding-bottom:58px}.approach-layout{margin-top:32px}.approach-toc{padding:16px}.approach-toc a{font-size:12px;padding:7px 9px}.approach-topic{padding:24px 21px}.approach-paragraphs p{font-size:14px}.approach-example{padding:14px 15px}.approach-close-grid{grid-template-columns:1fr;gap:10px}.approach-close-grid>p{margin:0}}

/* v1.3.3 Institutional references within the editorial approach */
.approach-references{padding-top:58px;padding-bottom:65px}
.approach-references .section-intro{max-width:840px}
.reference-list{display:flex;flex-wrap:wrap;gap:12px 18px;list-style:none;margin:25px 0 0;padding:0}
.reference-list li{background:#fff;border:1px solid #ded8f2;border-radius:10px;max-width:100%}
.reference-list a{display:block;padding:13px 16px;font-size:14px;line-height:1.5;color:#49368b;text-decoration:none}
.reference-list a:hover,.reference-list a:focus-visible{text-decoration:underline}
@media(max-width:600px){.reference-list{flex-direction:column}.reference-list li{width:100%}}

/* v1.3.4 · Minimal legal pages, keeping the existing Kimunara aesthetic */
.policy-page{max-width:920px}
.policy-page .legal-draft{border:1px solid #e7e1f5;border-radius:16px;background:#fff;box-shadow:0 4px 20px rgba(17,17,48,.035);padding:25px 31px 34px;max-width:820px}
.policy-page .legal-draft>strong{font-size:12px;font-weight:650;color:#79519b;letter-spacing:.015em;border-bottom:1px solid #eee7f7;padding-bottom:14px;margin-bottom:21px}
.policy-page .policy-section{margin:17px 0 19px}
.policy-page .policy-section h2{font-size:17px;line-height:1.35}
.policy-page .policy-section p{font-size:15px;line-height:1.6;max-width:73ch}
@media(max-width:600px){.policy-page .legal-draft{padding:18px 18px 25px}}

/* v1.3.5 · Compact information-only legal pages */
.policy-page .legal-draft{max-width:760px;padding:20px 25px 23px}
.policy-page .legal-draft>strong{display:block;font-size:11px;line-height:1.45;letter-spacing:.015em;padding-bottom:10px;margin-bottom:10px}
.policy-page .policy-section{margin:12px 0 14px}
.policy-page .policy-section h2{font-size:16px;margin:0 0 5px}
.policy-page .policy-section p{font-size:14px;line-height:1.55;margin:5px 0}
@media(max-width:600px){.policy-page .legal-draft{padding:16px 17px 18px}}

/* v1.4.1 · Official Kimunara mascots replace generic flat-purple glyphs. */
.focus-grid{align-items:stretch}
.focus-card{padding:0;min-height:0;overflow:hidden;background:#fff;display:flex;flex-direction:column;box-shadow:0 9px 25px rgba(19,20,65,.055)}
.focus-art{display:block;width:100%;aspect-ratio:900 / 440;overflow:hidden;background:#111943}
.focus-art img{width:100%;height:100%;object-fit:cover;display:block}
.focus-copy{padding:23px 26px 28px;flex:1}
.focus-card h3{margin:0 0 10px;font-size:19px}
.focus-card p{margin:0;font-size:13px;line-height:1.65}
.focus-card.focus-math{border-color:#cde9e7}
.focus-card.focus-reading{border-color:#d9e4fa}
.focus-card.focus-ai{border-color:#f0dfc6}
.about-art{height:auto;aspect-ratio:1080 / 735;background:#0c1033;border:1px solid #7771ba;box-shadow:0 12px 28px rgba(17,18,65,.12)}
.about-art::before,.about-art::after{display:none;content:none}
.about-art img{display:block;width:100%;height:100%;object-fit:cover}
@media(max-width:760px){.focus-grid{grid-template-columns:1fr}.focus-card{min-height:0}.focus-art{max-height:270px}.about-art{height:auto;aspect-ratio:1080/735;max-width:700px}}
@media(max-width:600px){.focus-copy{padding:20px 22px 24px}.focus-art{max-height:none}.about-art{aspect-ratio:1080/735}}

/* v1.4.2 · Approved action scenes for the existing Kimunara characters. */
/* Preserve each square illustration in full rather than cropping away the characters. */
.focus-art{aspect-ratio:1 / 1}
.about-art{aspect-ratio:4 / 3}
@media(max-width:760px){.focus-art{max-height:none}.about-art{aspect-ratio:4 / 3}}

/* v1.4.3 · Cropless 4:3 editorial scenes, matching the supplied artwork. */
.focus-art{aspect-ratio:4 / 3}
