/* The public legal reader is independent of the signed-in dashboard. */
@font-face{font-family:Poppins;src:url('/static/program-media/fonts/Poppins-Regular.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:Poppins;src:url('/static/program-media/fonts/Poppins-SemiBold.woff2') format('woff2');font-weight:600;font-display:swap}
@font-face{font-family:Poppins;src:url('/static/program-media/fonts/Poppins-Bold.woff2') format('woff2');font-weight:700;font-display:swap}
@font-face{font-family:Poppins;src:url('/static/program-media/fonts/Poppins-ExtraBold.woff2') format('woff2');font-weight:800;font-display:swap}
:root{color-scheme:light;--paper:#fff8fb;--ink:#251d2c;--muted:#786575;--pink:#eb2868;--pink-dark:#b71c50;--line:#eddae4;--ease:cubic-bezier(.22,1,.36,1);font-family:Poppins,'Yu Gothic',Meiryo,sans-serif}
*{box-sizing:border-box}
html{min-height:100%;scrollbar-gutter:stable;scroll-behavior:smooth;scroll-padding-top:166px}
body.legal-document{margin:0;min-height:100svh;overflow-x:clip;background:radial-gradient(ellipse 750px 580px at 50% 90px,#ffe5f0a8,transparent),var(--paper);color:var(--ink);font-size:14px;line-height:1.8;-webkit-font-smoothing:antialiased;isolation:isolate}
button,a,summary{-webkit-tap-highlight-color:transparent}
button{font:inherit;cursor:pointer}
[hidden]{display:none!important}
a{color:var(--pink-dark);text-underline-offset:4px;text-decoration-thickness:1px}
a:hover{color:#8e163c}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #b42264;outline-offset:5px;border-radius:6px}
svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
::selection{background:#ffd5e6;color:#621b3b}
.skip-link{position:fixed;z-index:100;top:-90px;left:16px;padding:10px 18px;background:#fff;color:var(--pink-dark);border:1px solid var(--line);border-radius:12px}
.skip-link:focus{top:12px}
.legal-atmosphere{position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none;contain:strict}
.legal-atmosphere::before{content:'';position:absolute;inset:0;background:url('/static/program-media/asanoha.svg') repeat;background-size:180px 312px;opacity:.12;mask-image:linear-gradient(90deg,#000,transparent 40%,transparent 60%,#000)}
.ambient-halo{position:absolute;display:block;border-radius:50%;background:radial-gradient(circle,#ffc4dc55,transparent 70%);width:460px;height:460px;opacity:.7}
.halo-one{left:calc(50% - 530px);top:24%}
.halo-two{right:calc(50% - 530px);top:64%;background:radial-gradient(circle,#d8cffb55,transparent 70%)}
.ambient-petal{position:absolute;display:block;width:13px;height:19px;border-radius:80% 15% 70% 30%;background:linear-gradient(135deg,#ffd7e7,#ee92b74d);opacity:.42;transform:rotate(20deg)}
.petal-one{left:12%;top:18%}.petal-two{left:84%;top:32%;width:9px;height:14px}.petal-three{left:7%;top:64%;width:8px;height:13px}.petal-four{left:92%;top:78%}.petal-five{left:74%;top:8%;width:6px;height:10px}
.public-shell{position:relative;width:min(calc(100% - 36px),480px);min-height:100svh;margin-inline:auto;padding:16px 0 max(26px,env(safe-area-inset-bottom))}
.public-header{position:sticky;top:12px;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:70px;padding:10px 14px;background:#fffdfef5;border:1px solid #f0dce6;border-radius:22px;box-shadow:0 8px 24px -16px #69314c42,inset 0 1px #fff}
.public-brand,.footer-brand{display:flex;align-items:center;gap:9px;color:var(--ink);text-decoration:none;font-size:22px;font-weight:800;letter-spacing:-.065em;line-height:1.05}
.public-brand img{width:42px;height:42px;border-radius:12px;box-shadow:0 3px 8px #dc578624}
.public-brand small,.footer-brand small{display:block;margin-top:5px;color:#d12860;font-size:7px;font-weight:700;letter-spacing:.22em}
.header-link{display:flex;align-items:center;gap:10px;min-height:44px;padding:7px 8px 7px 14px;color:#563c50;font-size:11px;font-weight:700;white-space:nowrap;text-decoration:none;background:linear-gradient(135deg,#fff,#fff2f8);border:1px solid #edcedd;border-radius:14px;box-shadow:0 3px 0 #ebd8e2}
.button-arrow{display:grid;place-items:center;flex-shrink:0;width:29px;height:29px;border-radius:10px;background:#fbe5ef;border:1px solid #f2cede;color:#b82c63}
.button-arrow svg{width:16px;height:16px}
.document-switch{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:24px 0 0;padding:5px;border:1px solid #eedbe5;border-radius:17px;background:#f6eaf0;box-shadow:inset 0 1px 3px #9a52710a}
.document-switch a{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px;color:#77556b;font-size:11px;font-weight:600;letter-spacing:-.02em;border-radius:12px;text-decoration:none;border:1px solid transparent}
.document-switch a svg{width:17px;height:17px;flex-shrink:0}
.document-switch a[aria-current=page]{color:#ad2058;background:#fffdfd;border-color:#f6e3ec;box-shadow:0 4px 9px #8145620d,0 1px 2px #8145620b}
.document-switch a:hover{background:#ffffff80}
main{padding-top:32px}
.intro{position:relative;overflow:clip;padding:3px 4px 28px}
.document-edition{display:flex;align-items:center;justify-content:space-between;gap:10px}
.eyebrow{display:block;color:#b62a60;font-size:9px;line-height:1.5;font-weight:700;letter-spacing:.14em}
.document-edition>[lang]{color:#b3839a;font-size:10px;letter-spacing:.18em}
.document-hero{display:flex;align-items:center;justify-content:space-between;gap:4px;min-height:178px;position:relative}
h1{position:relative;z-index:1;margin:20px 0 22px;font-size:clamp(42px,10.6vw,53px);font-weight:800;letter-spacing:-.065em;line-height:1.07}
h1 span{color:var(--pink)}
.document-art{position:relative;flex:0 0 132px;width:132px;height:148px;margin-right:2px;isolation:isolate}
.art-orbit{position:absolute;inset:0 -5px;border:1px solid #f0c6db;border-radius:50%;transform:rotate(-20deg);background:radial-gradient(circle,#ffcbe045,transparent 70%)}
.art-orbit::before,.art-orbit::after{content:'';position:absolute;border:1px solid #f5d8e7;border-radius:50%;inset:9px -10px;transform:rotate(42deg)}
.art-orbit::after{width:5px;height:5px;inset:15px 12px auto auto;background:#ed699a;border:0;box-shadow:0 0 0 5px #fce2ed}
.art-paper{position:absolute;display:block;width:92px;height:117px;left:22px;top:14px;border:1px solid #efbcd2;border-radius:17px;box-shadow:0 12px 22px -12px #a4306e55,inset 0 1px #fff}
.paper-back{transform:rotate(-18deg) translate(-7px,0);background:linear-gradient(145deg,#ffd9e9,#fff5fa)}
.paper-front{transform:rotate(10deg);background:linear-gradient(135deg,#fff 35%,#fff0f7);padding:11px 19px}
.paper-front svg{width:51px;height:63px;color:#d8447f;stroke-width:2.2}
.paper-front i{display:block;height:3px;border-radius:3px;background:#ecc4d7;margin-top:4px;width:37px}
.paper-front i:last-child{width:23px;background:#f5dfe9}
.document-art img{position:absolute;right:-6px;bottom:-5px;width:65px;height:65px;filter:drop-shadow(0 5px 6px #bd5c8720)}
.lead{margin:0 0 22px;color:#705968;font-size:13px;line-height:1.85;max-width:410px}
.document-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding-top:16px;border-top:1px solid #eed6e2;color:#8a647a;font-size:10px}
.document-meta>span{display:inline-flex;gap:7px;align-items:center}
.document-meta svg{width:14px;height:14px;color:#a66584}
.document-meta>span:last-child{font-size:9px;letter-spacing:.03em;border:1px solid #eed5e1;border-radius:7px;background:#fff8fb;padding:3px 7px}
.legal-reader-bar{position:sticky;top:92px;z-index:15;margin:0 0 18px;border:1px solid #e9d0de;border-radius:15px;background:#fffcfe;box-shadow:0 7px 22px -13px #60334840;overflow:hidden}
.legal-index summary{display:flex;align-items:center;gap:10px;min-height:52px;padding:12px 16px;color:#513447;font-size:11px;font-weight:600;cursor:pointer;list-style:none;user-select:none}
.legal-index summary::-webkit-details-marker{display:none}
.index-symbol{width:18px;display:flex;flex-direction:column;gap:3px}
.index-symbol i{height:2px;width:15px;display:block;border-radius:3px;background:#be608b}
.index-symbol i:nth-child(2){width:11px}.index-symbol i:nth-child(3){width:7px}
.reading-position{margin-left:auto;min-width:43px;color:#9f5c7d;font-size:10px;font-variant-numeric:tabular-nums;letter-spacing:.04em}
.index-chevron{width:16px;height:16px;color:#ac6687;transition:transform .3s var(--ease)}
.legal-index[open] .index-chevron{transform:rotate(180deg)}
.legal-index nav{display:grid;padding:1px 8px 10px;max-height:50svh;overflow-y:auto;border-top:1px solid #f2e0e9}
.legal-index nav a{display:flex;align-items:center;gap:12px;min-height:44px;padding:8px 12px;border-radius:9px;text-decoration:none;color:#725569;font-size:11px}
.legal-index nav a>span{color:#b58b9f;font-size:9px;font-variant-numeric:tabular-nums}
.legal-index nav a:hover{background:#fff0f6;color:#aa2058}
.legal-index nav a[aria-current=location]{background:#fce8f1;color:#ad235a;font-weight:600}
.legal-index nav a[aria-current=location]>span{color:#d13371}
.reading-track{height:3px;background:#f6e6ee;overflow:hidden}
.reading-track span{display:block;width:100%;height:100%;transform:scaleX(0);transform-origin:left;background:linear-gradient(90deg,#ff8bb4,#eb2868);border-radius:3px}
.public-card{position:relative;padding:26px 25px;margin:0 0 18px;border:1px solid #efdce6;border-radius:23px;background:linear-gradient(150deg,#fff 30%,#fffbfd);box-shadow:0 9px 26px -20px #a76a8852,inset 0 1px #fff;opacity:1}
.public-card::before{content:'';position:absolute;left:26px;top:0;width:44px;height:3px;background:linear-gradient(90deg,#f57da8,#ffd8e8);border-radius:0 0 3px 3px}
.card-kicker{display:block;margin-bottom:11px;color:#a54370;font-size:9px;font-weight:700;letter-spacing:.11em;line-height:1.6}
.public-card h2{scroll-margin-top:10px;margin:0 0 18px;max-width:350px;color:var(--ink);font-size:23px;font-weight:700;line-height:1.28;letter-spacing:-.045em;text-wrap:balance}
.public-card h3{margin:18px 0 8px;font-size:16px;line-height:1.4}
.public-card p{margin:0 0 17px;color:#655361;overflow-wrap:anywhere}
.public-card p:last-child{margin-bottom:0}
.public-card strong{color:#3e2c39;font-weight:600}
.public-card ul,.public-card ol{margin:0 0 20px;padding-left:18px;color:#655361}
.public-card ul:last-child,.public-card ol:last-child{margin-bottom:0}
.public-card li{padding-left:4px;margin:0 0 15px;overflow-wrap:anywhere}
.public-card li:last-child{margin-bottom:0}
.public-card li::marker{color:#dc6090;font-size:.8em}
.public-card p a,.public-card li a{font-weight:600}
.public-card:target{border-color:#e8aac8}
.fine-print{color:#816775;font-size:11px;line-height:1.9}
.legal-endnote{padding:5px 9px 12px;margin:0 0 20px}
.legal-contact{position:relative;overflow:hidden;isolation:isolate;border:1px solid #efc9dc;border-radius:25px;background:linear-gradient(130deg,#fff9fc,#ffeaf3);padding:29px 26px 26px;box-shadow:0 16px 32px -25px #a12f6760;margin-top:22px}
.legal-contact::before{content:'';position:absolute;z-index:-1;width:190px;height:190px;right:-75px;top:-75px;border-radius:50%;border:1px solid #edbcd3;box-shadow:0 0 0 22px #ffffff30,0 0 0 23px #f2cadd60,0 0 0 45px #ffffff20,0 0 0 46px #f2cadd40}
.contact-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:#fff9fc;border:1px solid #edc3d8;color:#cd3d78;box-shadow:0 4px 0 #f1d0e0;margin-bottom:23px;transform:rotate(-5deg)}
.contact-mark svg{width:22px;height:22px}
.legal-contact h2{font-size:28px;font-weight:700;line-height:1.2;letter-spacing:-.055em;margin:12px 0 13px}
.legal-contact p{color:#816172;font-size:12px;margin:0 0 22px;max-width:340px}
.legal-button{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:54px;padding:10px 10px 10px 17px;border:1px solid #f34a84;border-radius:15px;background:linear-gradient(120deg,#f64d8c,#df1c60);box-shadow:0 5px 0 #b61e55,0 10px 18px -10px #d6256860;color:#fff;text-decoration:none;font-size:12px;font-weight:700}
.legal-button:hover{color:#fff}
.legal-button .button-arrow{width:31px;height:31px;background:#ffffff1a;border-color:#ffffff35;color:#fff}
.legal-button.discord-button{background:linear-gradient(115deg,#6873f6,#4e59dc);border-color:#6971eb;box-shadow:0 5px 0 #3a43aa,0 10px 18px -10px #4b50b940}
.discord-button>span:first-of-type{flex:1}
.legal-button>img{object-fit:contain;flex-shrink:0}
.public-footer{padding:32px 4px 0;margin-top:22px}
.legal-footer-top{display:flex;align-items:center;justify-content:space-between;gap:20px}
.footer-brand{font-size:19px;gap:7px}
.footer-brand img{border-radius:8px}
.footer-brand small{font-size:6px;margin-top:3px}
.legal-top{display:grid;place-items:center;width:44px;height:44px;border:1px solid #e9cedd;background:#fff7fb;border-radius:14px;color:#b52c66;box-shadow:0 3px 0 #efdde6}
.legal-top svg{width:18px;height:18px}
.public-footer nav{display:flex;justify-content:space-between;flex-wrap:wrap;gap:1px 12px;padding:16px 0 15px;margin-top:8px;border-bottom:1px solid #eedce6}
.public-footer nav a{display:inline-flex;align-items:center;min-height:44px;font-size:10px;color:#73566a;text-decoration:none}
.public-footer nav a[aria-current=page]{color:#b12359;font-weight:600}
.legal-email{display:inline-flex;align-items:center;min-height:44px;margin-top:8px;font-size:10px;color:#83566f}
.legal-footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:16px;font-size:9px;color:#8d6d80}
#legal-motion-toggle{min-height:44px;border:1px solid #e9d5df;background:#fff9fc;color:#7b536b;font-size:9px;border-radius:12px;padding:6px 12px}
#legal-motion-toggle[aria-pressed=true]{background:#f7e9f1}
#legal-motion-toggle:disabled{cursor:default;color:#896c7c}
/* Only small ornaments loop. Reading content animates once through legal.js. */
@media(prefers-reduced-motion:no-preference){
  .ambient-petal{animation:petal-drift 16s ease-in-out infinite alternate}
  .petal-two{animation-delay:-6s;animation-duration:20s}.petal-three{animation-delay:-11s;animation-duration:18s}.petal-four{animation-delay:-3s;animation-duration:22s}.petal-five{animation-delay:-9s;animation-duration:17s}
  .document-art{animation:paper-float 7s ease-in-out infinite}
  .document-art img{animation:blossom-turn 10s ease-in-out infinite alternate}
  .intro{animation:intro-arrive .9s var(--ease) both}
  .legal-index[open] nav{animation:index-arrive .3s var(--ease)}
  .document-switch a,.header-link,.legal-button,.legal-top,.button-arrow,#legal-motion-toggle{transition:transform .28s var(--ease),box-shadow .28s var(--ease),background-color .2s ease}
  .header-link:hover,.legal-top:hover{transform:translateY(-2px)}
  .legal-button:hover{transform:translateY(-2px);box-shadow:0 7px 0 #b61e55,0 15px 25px -14px #d6256880}
  .legal-button.discord-button:hover{box-shadow:0 7px 0 #3a43aa,0 15px 25px -14px #4b50b960}
  .legal-button:hover .button-arrow,.header-link:hover .button-arrow{transform:translateX(2px)}
  .legal-button:active,.header-link:active,.legal-top:active{transform:translateY(3px);box-shadow:0 1px 0 #e1bdcf}
}
@keyframes petal-drift{from{transform:translate3d(-9px,-25px,0) rotate(-18deg)}to{transform:translate3d(14px,43px,0) rotate(67deg)}}
@keyframes paper-float{0%,100%{transform:translate3d(0,0,0) rotate(-1deg)}50%{transform:translate3d(0,-7px,0) rotate(2deg)}}
@keyframes blossom-turn{from{transform:rotate(-8deg)}to{transform:rotate(9deg)}}
@keyframes intro-arrive{from{opacity:.6;transform:translateY(13px)}to{opacity:1;transform:translateY(0)}}
@keyframes index-arrive{from{opacity:.55;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
.motion-paused *,.motion-paused *::before,.motion-paused *::after{animation-play-state:paused!important}
html:has(.motion-paused){scroll-behavior:auto}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.legal-document *,.legal-document *::before,.legal-document *::after{animation:none!important;transition:none!important}}
@media(max-width:370px){
  .public-shell{width:calc(100% - 28px)}.public-header{padding:9px 10px;gap:8px}.public-brand{font-size:20px}.public-brand img{width:37px;height:37px}.header-link{gap:7px;padding-left:11px}
  .document-switch a{font-size:10px;gap:6px}.document-art{flex-basis:90px;scale:.75;transform-origin:left center;margin-right:6px}.document-edition .eyebrow{font-size:8px}.document-edition>[lang]{font-size:9px}
  h1{font-size:36px}.public-card{padding:24px 20px}.public-card::before{left:21px}.public-card h2{font-size:22px}.legal-contact{padding:26px 20px}.legal-button{font-size:11px}
  .document-meta{font-size:9px}.document-meta>span:last-child{font-size:8px}.legal-footer-bottom{font-size:8px}
}
@media(min-width:900px){.public-shell{padding-top:26px}.public-header{top:18px}.legal-reader-bar{top:100px}.intro{padding-top:8px}main{padding-top:35px}.document-hero{min-height:186px}.public-card{padding:30px}.public-card::before{left:31px}}
@media print{
  :root{color-scheme:light}html{scroll-padding:0}.legal-document{background:#fff!important;color:#111;font-size:11pt}
  .legal-atmosphere,.document-art,.document-switch,.legal-reader-bar,.header-link,.legal-contact,.legal-top,#legal-motion-toggle,.skip-link{display:none!important}
  .public-shell{width:100%;padding:0}.public-header{position:static;border:0;box-shadow:none;padding:0 0 15px}.intro{animation:none!important}.document-hero{min-height:0}
  .public-card{box-shadow:none;background:none;border-color:#ddd;break-inside:avoid;opacity:1!important;transform:none!important}.public-card p,.public-card li,.lead{color:#222}
  .public-footer{margin-top:10px}.public-footer nav{display:none}.document-meta{justify-content:flex-start;gap:20px}a{color:#111}h1 span{color:#222}
}
