/* Brand-aware storefront and global portal, November 2026. */
body{--accent:#ff8c42;--accent-strong:#ff712b;--accent-dark:#9d3908;--accent-rgb:255,125,53;--night:#141310;--night-panel:#201c18;--night-line:#3c3026;--night-muted:#c5b4a5;--paper:#faf8f5;--book-glow:#cc621d33;background:var(--paper)}
body[data-brand="ankiflashcard"]{--accent:#75c6ff;--accent-strong:#2f7df0;--accent-dark:#1d5ab9;--accent-rgb:76,151,255;--night:#080f1d;--night-panel:#101d31;--night-line:#263b56;--night-muted:#aabbcf;--paper:#f6f9fd;--book-glow:#398cf433}
body .wrap{width:min(1240px,calc(100% - 64px))}
body .header{background:color-mix(in srgb,var(--paper) 94%,transparent);border-color:#dedad6}
body .nav{height:80px}
body .nav .brand{font-size:25px}
body .brand b{color:var(--accent-strong)}
body .btn{border-radius:12px;min-height:50px;background:var(--accent-strong);border-color:var(--accent-strong);box-shadow:0 6px 24px rgba(var(--accent-rgb),.16);color:#1f150d;font-weight:700}
body[data-brand="ankiflashcard"] .btn{color:#fff}
body .btn.secondary{background:transparent;color:inherit;border-color:currentColor;box-shadow:none}
body .btn:hover{box-shadow:0 8px 28px rgba(var(--accent-rgb),.26)}
body :is(a,button,input,select,summary):focus-visible{outline:3px solid var(--accent-strong);outline-offset:5px}
body .eyebrow{color:var(--accent-dark)}
body :is(section[id],div[id]){scroll-margin-top:100px}
body [hidden]{display:none!important}
.premium-icon{width:72px;height:72px;object-fit:contain;flex-shrink:0}
body[data-brand="hotflashcard"] .premium-icon{filter:hue-rotate(178deg) saturate(.85)}
.deck-book{position:relative;display:block;width:auto;max-width:100%;height:100%;aspect-ratio:720/1046;margin:0 auto;isolation:isolate}
.deck-book>img{display:block;width:100%;height:100%;object-fit:contain;background:transparent!important;position:static!important;inset:auto!important;filter:drop-shadow(0 16px 18px #0006)}
.deck-book figcaption{position:absolute;top:28%;left:5%;width:74%;text-align:center;color:#fff;transform:rotate(-7deg);font-size:clamp(16px,2vw,25px);line-height:1.15;font-weight:750;text-shadow:0 2px 7px #000;letter-spacing:-.03em;pointer-events:none}
.portal-showcase{position:relative;isolation:isolate;min-width:0;height:490px;display:flex;align-items:center;justify-content:center;direction:ltr}
.portal-showcase:before{content:'';position:absolute;inset:10% 4%;background:radial-gradient(ellipse,var(--book-glow),transparent 67%);z-index:-1}
.showcase-orbit{position:absolute;width:96%;height:22%;bottom:8%;border:1px solid rgba(var(--accent-rgb),.3);border-radius:50%;background:radial-gradient(ellipse,rgba(var(--accent-rgb),.13),transparent 70%);box-shadow:0 0 60px rgba(var(--accent-rgb),.1)}
.showcase-collection{position:relative;z-index:3;display:flex;align-items:center;flex-direction:column;max-width:58%;height:94%;padding-top:10px}
.showcase-collection>img{width:100%;height:calc(100% - 30px);max-height:440px;object-fit:contain;filter:drop-shadow(0 20px 30px #0007)}
.showcase-collection>span{font-size:10px;font-weight:700;letter-spacing:.16em;color:var(--night-muted);margin-top:12px}
.showcase-side{position:absolute;width:40%;height:65%;bottom:13%;z-index:2}
.side-left{left:0;transform:rotate(-12deg)}
.side-right{right:0;transform:rotate(12deg)}
.showcase-side figcaption{font-size:clamp(15px,2vw,24px)}
.confidence-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #e1ddd7;border-radius:18px;margin-top:20px;background:#fff}
.confidence-item{display:flex;align-items:center;gap:15px;padding:22px;min-width:0}
.confidence-item+.confidence-item{border-inline-start:1px solid #e1ddd7}
.confidence-item strong{display:block;font-size:15px;line-height:1.4;color:#242429}
.confidence-item small{display:block;font-size:12px;line-height:1.5;color:#6d6661;margin-top:5px}
.confidence-item .payment-brands{margin:6px 0}
.confidence-item .payment-brands svg{max-height:20px}
.feature-section{padding:60px 0 40px}
.feature-section .section-head h2{font-size:32px}
.feature-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.feature-grid article{display:flex;align-items:center;gap:13px;min-width:0}
.feature-grid h3{font-size:16px;letter-spacing:-.02em;line-height:1.4}
.feature-grid span{display:block;font-size:11px;color:#736e68;margin-top:7px;letter-spacing:.03em}
body .card{border-radius:22px;border-color:#e2ddd7;box-shadow:0 2px 4px #00000002}
body .card:hover{border-color:var(--accent);box-shadow:0 18px 40px rgba(var(--accent-rgb),.09)}
body .card-art{height:280px;padding:20px 25px 8px;background:radial-gradient(ellipse at 50% 70%,var(--book-glow),transparent 70%),var(--night);border-bottom:0}
body .card-art:after{display:none}
body .card-art .deck-book{transition:transform .2s ease;max-width:245px;margin:auto}
body .card:hover .deck-book{transform:translateY(-5px) rotate(-2deg)}
body .card-art figcaption{font-size:21px}
body .card-body{padding:24px}
body .card h3{font-size:24px;line-height:1.2}
body .card-body>p{font-size:14px;line-height:1.65;min-height:65px}
body .card .tag{letter-spacing:0;font-size:11px;background:#f8f7f5;border:0}
body .card .card-price{font-size:32px}
body .card .btn{box-shadow:none}
body .bundle{grid-template-columns:minmax(150px,.68fr) minmax(0,1.1fr) minmax(210px,.8fr);gap:28px;padding:34px;background:radial-gradient(ellipse at 10% 90%,var(--book-glow),transparent 55%),var(--night);border-color:var(--night-line);border-radius:24px;color:#fff}
body .bundle .bundle-art{height:300px;min-width:0}
body .bundle-art img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 15px 20px #0007)}
body .bundle h2{font-size:36px;line-height:1.12}
body .bundle p,body .bundle small{color:var(--night-muted)}
body .bundle .eyebrow{color:var(--accent)}
body .bundle .tag{border-color:var(--night-line);font-size:11px;color:#e8e3dc}
body .bundle .bundle-buy{text-align:start}
body .bundle .btn{width:100%}
body .bundle:before{background:var(--book-glow);pointer-events:none}
body .product-visual{background:radial-gradient(ellipse,var(--book-glow),transparent 65%),var(--night);border-color:var(--night-line);padding:28px}
body .product-visual>.deck-book{height:500px;width:auto;max-width:100%}
body .product-visual figcaption{font-size:30px}
.sample-review{max-width:660px;margin:35px auto 60px;padding:30px;background:var(--night-panel);border-radius:24px;color:#fff}
.sample-review h2{font-size:27px;margin-bottom:25px}
body .product-benefits{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:0;list-style:none}
body .product-benefits li{display:flex;align-items:center;gap:9px;line-height:1.45;font-size:13px;min-width:0}
body .product-benefits li:before{display:none}
body .product-benefits .premium-icon{width:46px;height:46px}
body .education{padding:36px 0 50px}
body .education-two{gap:30px}
body .education-two article{padding:24px;background:#fff;border-color:#e5e1dd;border-radius:18px}
body .education-steps article{position:relative;padding-inline-start:92px;min-height:90px}
body .education-steps .premium-icon{position:absolute;inset-inline-start:0;top:0;width:72px;height:72px}
body .education-steps .education-step{display:none}
body .education-steps h4{font-size:17px;line-height:1.4}
body .education-steps p{font-size:14px;line-height:1.65}
.portal-directory{padding:60px 0}
.directory-controls{display:flex;align-items:end;gap:14px;padding:20px;background:#eeebe6;border-radius:16px;margin:24px 0}
.directory-controls label{display:grid;gap:8px;min-width:0;flex:1}
.directory-controls .directory-search-label{flex:2}
.directory-controls label>span{font-size:12px;font-weight:600}
.directory-controls input,.directory-controls select{width:100%;min-height:48px;border:1px solid #d8d2ca;background:#fff;color:#292724;border-radius:10px;padding:10px 14px;font:inherit;font-size:14px}
.directory-controls output{font:600 12px 'DM Sans',sans-serif;padding-bottom:16px;white-space:nowrap;direction:ltr}
.portal-country-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.portal-country{display:flex;align-items:center;gap:12px;padding:17px 15px;min-height:82px;background:#fff;border:1px solid #e1ddd7;border-radius:13px;transition:background .18s,border-color .18s}
.portal-country:hover,.portal-country[aria-current]{border-color:var(--accent-strong);background:#fff5eb}
body[data-brand="ankiflashcard"] .portal-country:hover,body[data-brand="ankiflashcard"] .portal-country[aria-current]{background:#edf5ff}
.portal-country .country-flag{font-size:25px;width:32px;line-height:1.2;flex-shrink:0}
.portal-country strong{display:block;font-size:14px;line-height:1.4;font-weight:650}
.portal-country small{display:block;font-size:11px;color:#76706a;line-height:1.5;margin-top:4px}
.country-arrow{margin-inline-start:auto;flex-shrink:0;color:var(--accent-dark)}
.directory-empty{padding:28px;text-align:center}
.directory-empty button{border:1px solid currentColor;background:transparent;color:inherit;border-radius:8px;padding:12px 18px;cursor:pointer}
.is-portal{background:var(--night);color:#f7f3ef;color-scheme:dark}
.is-portal .header{background:color-mix(in srgb,var(--night) 94%,transparent);border-bottom-color:var(--night-line)}
.is-portal .brand{color:#fff}
.is-portal .brand small{color:var(--night-muted);font-size:10px;letter-spacing:.12em;margin-top:5px}
.is-portal .country-picker summary{background:var(--night-panel);border-color:var(--night-line);color:#f5f0e9}
.is-portal .country-picker-popup{background:var(--night-panel);color:#f6f0e8;border-color:var(--night-line)}
.is-portal .country-option{color:#f6f0e8}
.is-portal .country-option:hover{background:var(--night-line)}
.is-portal .country-search{background:var(--night);color:#fff;border-color:var(--night-line)}
.is-portal .country-picker-title{color:#fff}
.is-portal .eyebrow{color:var(--accent);font-size:11px;letter-spacing:.18em;margin-bottom:20px}
.portal-hero{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:center;padding:48px 40px 36px;margin-top:24px;border:1px solid var(--night-line);border-radius:28px;background:radial-gradient(ellipse at 85% 70%,var(--book-glow),transparent 65%),linear-gradient(140deg,var(--night-panel),var(--night));overflow:hidden}
.brand-spark{font-size:18px;vertical-align:middle;margin-inline-end:8px}
.portal-intro{position:relative;z-index:4}
.portal-intro h1{font-size:clamp(37px,4.3vw,59px);line-height:1.1;letter-spacing:-.055em;max-width:610px}
.portal-intro h1 em{display:block;color:var(--accent);font-style:normal;margin-top:8px}
.portal-lead{font-size:16px;line-height:1.8;color:var(--night-muted);max-width:500px;margin:25px 0 30px}
.portal-actions{display:flex;gap:24px;align-items:center;flex-wrap:wrap}
.portal-actions .btn{padding:16px 24px}
.portal-secondary{font-size:13px;font-weight:650;color:#e7ded6;padding:12px 0}
.portal-specs{display:flex;flex-wrap:wrap;gap:10px 19px;border-top:1px solid var(--night-line);padding-top:22px;margin-top:28px;font-size:11px;line-height:1.5;color:var(--night-muted)}
.is-portal .confidence-strip{margin-top:0;border-top:0;border-color:var(--night-line);border-radius:0 0 22px 22px;background:var(--night-panel);position:relative;margin-inline:24px}
.is-portal .confidence-item+.confidence-item{border-color:var(--night-line)}
.is-portal .confidence-item strong{color:#f6f0ea;font-size:14px}
.is-portal .confidence-item small{color:var(--night-muted);font-size:11px}
.is-portal .confidence-item .premium-icon{width:61px;height:61px}
.edition-recommendation{display:flex;align-items:center;gap:24px;justify-content:space-between;padding:21px 26px;margin:28px 0 0;background:var(--night-panel);border:1px solid var(--night-line);border-inline-start:3px solid var(--accent);border-radius:14px}
.edition-recommendation>div{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.edition-recommendation small{font-size:12px;color:var(--night-muted)}
.edition-recommendation strong{font-size:16px}
.edition-recommendation .btn{font-size:13px;min-height:42px;padding:9px 18px;border-color:var(--night-line);color:var(--accent)}
.is-portal .section-head h2{font-size:clamp(28px,3.1vw,39px);line-height:1.2;color:#f5f3f0}
.is-portal .section-head p{color:var(--night-muted);font-size:14px;line-height:1.65}
.is-portal .directory-controls{background:var(--night-panel);border:1px solid var(--night-line)}
.is-portal .directory-controls input,.is-portal .directory-controls select{background:var(--night);border-color:var(--night-line);color:#eee9e3}
.is-portal .directory-controls input::placeholder{color:#a99f95}
.is-portal .portal-country{background:var(--night-panel);border-color:var(--night-line)}
.is-portal .portal-country small{color:var(--night-muted)}
.is-portal .portal-country .country-arrow{color:var(--accent)}
.is-portal .portal-country:hover{border-color:var(--accent);background:var(--night-line)}
.portal-paths{padding:30px 0 50px;border-top:1px solid var(--night-line)}
.portal-books{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}
.portal-path{display:block;min-width:0;padding:15px 10px;background:radial-gradient(ellipse at 50% 45%,var(--book-glow),transparent 75%);border-bottom:1px solid var(--night-line)}
.portal-path .deck-book{height:260px;transition:transform .2s}
.portal-path .deck-book figcaption{font-size:20px}
.portal-path:hover .deck-book{transform:translateY(-7px)}
.portal-path>div{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:20px;padding:0 8px 15px}
.portal-path h3{font-size:18px;letter-spacing:-.02em}
.portal-path>div>span{color:var(--night-muted);font-size:10px;white-space:nowrap}
.is-portal .feature-section{border-top:1px solid var(--night-line);padding-top:45px}
.is-portal .feature-grid span{color:var(--night-muted)}
.is-portal .feature-grid h3{color:#f6f0ea;font-size:14px}
.is-portal .education{border-color:var(--night-line);color:#fff}
.is-portal .education h2{color:#f8f4ef;font-size:32px}
.is-portal .education-two article{background:var(--night-panel);border-color:var(--night-line)}
.is-portal .education h3,.is-portal .education h4{color:#fff}
.is-portal .education p{color:var(--night-muted)}
.is-portal .education-number{color:var(--accent)}
.is-portal .education-steps article{background:transparent;border:0;border-radius:0}
.is-portal .education-manual{color:var(--accent)}
.is-portal .education-disclosure{border-color:var(--night-line);background:var(--night-panel)}
.is-portal .footer{border-color:var(--night-line);color:var(--night-muted);font-size:12px}
.is-portal .footer p{max-width:690px;line-height:1.7}
body[data-brand="ankiflashcard"] .hero-offer-media{height:250px;background:radial-gradient(ellipse,var(--book-glow),transparent 70%),var(--night);border-radius:16px;padding:14px}
body[data-brand="ankiflashcard"] .hero-offer-media .deck-book{max-width:200px}
body[data-brand="ankiflashcard"] .hero-commercial{background:linear-gradient(120deg,#e5efff,#f9fbff);border:1px solid #d2e0f6}
body[data-brand="hotflashcard"] .hero-refined{background:radial-gradient(ellipse at 0 100%,#863a172e,transparent 65%),var(--night);border:1px solid #473428}
body[data-brand="hotflashcard"] .hero-refined h1 em{color:var(--accent)}
@media(min-width:1100px){body .grid:has(>.card:nth-child(4)):not(:has(>.card:nth-child(5))){grid-template-columns:repeat(4,minmax(0,1fr))}body .grid:has(>.card:nth-child(4)):not(:has(>.card:nth-child(5))) .card-body{padding:20px}body .grid:has(>.card:nth-child(4)):not(:has(>.card:nth-child(5))) h3{font-size:22px}}
@media(max-width:1000px){.portal-hero{padding:35px 28px;gap:10px}.portal-showcase{height:400px}.portal-intro h1{font-size:43px}.portal-country-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.feature-grid{grid-template-columns:1fr 1fr;gap:25px}.confidence-item{padding:18px 14px;gap:10px}.confidence-item .premium-icon{width:50px;height:50px}.portal-books{gap:10px}.portal-path .deck-book{height:210px}.portal-path .deck-book figcaption{font-size:16px}.portal-path>div{display:block}.portal-path>div>span{display:block;margin-top:8px}body .bundle{grid-template-columns:.7fr 1fr}body .bundle-buy{grid-column:2}body .bundle-art{grid-row:1/3;height:280px}}
@media(max-width:720px){body .wrap{width:calc(100% - 32px)}body .nav{height:72px;gap:12px}body .nav .brand{font-size:21px}body .brand small{font-size:9px!important}body .nav nav{gap:10px}body .nav nav>a{display:none}.portal-hero{grid-template-columns:1fr;padding:30px 24px 12px;margin-top:16px;border-radius:22px}.portal-intro h1{font-size:clamp(33px,7.2vw,48px);line-height:1.12}.portal-lead{font-size:15px;margin:22px 0}.portal-specs{margin-top:22px;padding-top:18px;font-size:10px}.portal-actions{gap:18px}.portal-actions .btn{font-size:13px;padding:14px 18px}.portal-showcase{height:360px;max-width:440px;width:100%;margin:10px auto 0}.showcase-side{height:66%;bottom:12%;width:41%}.showcase-collection{height:96%;max-width:57%}.showcase-side figcaption{font-size:19px}.is-portal .confidence-strip{margin-inline:10px}.confidence-strip{grid-template-columns:1fr}.confidence-item{padding:16px 22px}.confidence-item+.confidence-item{border-inline-start:0;border-top:1px solid #e1ddd7}.is-portal .confidence-item+.confidence-item{border-color:var(--night-line)}.is-portal .confidence-item .premium-icon{width:49px;height:49px}.confidence-item strong,.is-portal .confidence-item strong{font-size:14px}.confidence-item small,.is-portal .confidence-item small{font-size:12px}.edition-recommendation{padding:18px;gap:15px}.edition-recommendation>div{display:grid;gap:5px}.edition-recommendation .btn{max-width:54%;font-size:12px;padding:9px 12px}.portal-directory{padding:40px 0}.directory-controls{flex-wrap:wrap;padding:15px;gap:12px}.directory-controls .directory-search-label{flex:1 1 100%}.directory-controls label{flex:1}.directory-controls output{padding:0 0 16px}.portal-country-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.portal-country{padding:13px 11px;gap:9px;min-height:80px}.portal-country strong{font-size:12px}.portal-country small{font-size:10px}.portal-country .country-flag{font-size:23px;width:27px}.portal-country .country-arrow{display:none}.portal-books{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.portal-path .deck-book{height:240px}.portal-path .deck-book figcaption{font-size:21px}.portal-path>div{display:flex;padding-inline:4px}.portal-path h3{font-size:17px}.portal-path:last-child{grid-column:1/-1;max-width:240px;justify-self:center;width:100%}.feature-grid{gap:24px 12px}.feature-grid article{display:block}.feature-grid .premium-icon{width:60px;height:60px;margin-bottom:12px}.feature-grid h3{font-size:15px}.feature-section{padding:35px 0}.feature-section .section-head{display:block}.feature-section .section-head h2{font-size:29px}.feature-section .section-head>p{font-size:14px}.is-portal .education h2{font-size:29px}body .education-steps article{padding-inline-start:77px}.education-steps .premium-icon{width:58px!important;height:58px!important}body .bundle{display:grid;grid-template-columns:1fr;gap:22px;padding:25px}body .bundle .bundle-art{grid-row:auto;height:260px}body .bundle-buy{grid-column:auto}body .bundle h2{font-size:32px}body .card-art{height:290px}body .product-visual>.deck-book{height:380px}body .product-visual{order:0;padding:25px}body .product-benefits{gap:12px}.sample-review{padding:20px;margin:30px auto}.is-portal .footer-inner{display:block}.is-portal .footer p{margin-top:20px}.portal-paths .section-head{align-items:start}.portal-paths .section-head>a{display:none}}
@media(max-width:380px){body .wrap{width:calc(100% - 24px)}.portal-hero{padding-inline:20px}.portal-intro h1{font-size:32px}.portal-actions{gap:12px}.portal-secondary{font-size:12px}.portal-showcase{height:300px}.portal-country{gap:7px;padding:11px 9px}.portal-path .deck-book{height:205px}.portal-path .deck-book figcaption{font-size:18px}.portal-path>div{display:block}.portal-country strong{font-size:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}body *,body *:before,body *:after{animation:none!important;transition:none!important}}

body .card>.card-art{height:280px!important;min-height:280px;flex-shrink:0}
body .hero-offer .hero-offer-media{height:250px!important}
.link-arrow{display:inline-block;vertical-align:middle;flex-shrink:0;width:16px;height:16px}
.is-portal .country-picker--header summary{max-width:none}
@media(max-width:720px){body .card>.card-art{height:290px!important;min-height:290px}.is-portal .country-picker--header summary{max-width:150px}}
