:root{--market-deep:#102b23;--market-paper:#f8f5eb;--market-gold:#efd698;--market-green:#cce2cd}
.public-bar-inner{min-height:80px;gap:1.05rem}
.public-bar nav{column-gap:1.1rem}
.public-bar .brand strong{font-size:.91rem;font-weight:700}
.public-bar .brand img{object-fit:contain}
.market-home{padding-bottom:.8rem}
.market-hero{margin-block:1.35rem 1.8rem;border-radius:28px;background:color-mix(in srgb,var(--brand),#0b2018 68%);color:#fff;display:grid;grid-template-columns:minmax(0,1.03fr) minmax(0,.97fr);min-height:495px;overflow:hidden;position:relative;isolation:isolate}
.market-hero::before{content:"";position:absolute;z-index:-1;inset:0;background:radial-gradient(ellipse at 81% 8%,color-mix(in srgb,var(--brand),transparent 32%),transparent 63%)}
.market-hero-copy{padding:clamp(23px,4.3vw,68px);display:flex;flex-direction:column;align-items:start;justify-content:center;min-width:0}
.market-eyebrow{color:var(--market-gold);font-size:.86rem;display:inline-flex;align-items:center;gap:.7rem;line-height:1.45;padding:.48rem .7rem;border:1px solid #f2d59954;border-radius:6px;font-weight:700}
.market-eyebrow span{width:7px;height:7px;background:var(--market-gold);border-radius:50%}
.market-eyebrow:hover{color:#fff}
.market-hero h1{font-size:clamp(2.45rem,4.9vw,4.25rem);line-height:1.43;letter-spacing:-.065em;margin:.7rem 0 .5rem;max-width:14ch}
.market-hero-copy>p{font-size:clamp(1rem,1.61vw,1.16rem);color:#deebdf;max-width:40ch;line-height:1.9;margin:0 0 1.1rem}
.market-hero .btn.primary{background:var(--market-gold);border-color:var(--market-gold);color:#23372b;padding-inline:1.35rem}
.market-hero .btn.primary:hover{background:#ffe6ac;color:#14271b}
.btn.hero-outline{background:transparent;border-color:#dceee46b;color:#fff}
.btn.hero-outline:hover{background:#193c2f;color:#fff}
.market-hero-visual{position:relative;min-width:0;display:flex;isolation:isolate;overflow:hidden;background:#294033}
.market-hero-visual::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,transparent 78%,#0c261338);z-index:1}
.market-hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 48%}
video.market-hero-photo{z-index:2;object-fit:contain}
.hero-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;width:100%;border-top:1px solid #fcfaef2b;padding:.95rem 0 0;margin:1.4rem 0 0}
.hero-facts dt{font-family:var(--head);font-size:clamp(.72rem,1.4vw,1rem);font-weight:700;color:#f4e4b6}
.hero-facts dd{margin:0;font-size:.76rem;color:#dceee3}
.market-section{margin-block:clamp(25px,5vw,66px);scroll-margin-top:1.1rem}
.market-heading{margin-block-end:1.1rem;max-width:750px}
.market-heading h1,.market-heading h2{font-size:clamp(1.55rem,3vw,2.4rem);margin:.05rem 0 .35rem;line-height:1.5}
.market-kicker,.editorial-category{display:block;color:#796029;font-weight:700;font-size:.79rem;line-height:1.5;margin-bottom:.38rem}
.market-heading p,.market-program-row p,.market-steps p{color:var(--muted)}
.market-heading p{max-width:64ch;margin:0}
.market-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(15px,4.3vw,61px);align-items:center}
.market-split>div:only-child{grid-column:1/-1}
.market-image-frame{overflow:hidden;border-radius:16px;min-height:270px;background:var(--surface2)}
.market-section-image{width:100%;height:100%;min-height:270px;max-height:360px;object-fit:cover;aspect-ratio:1.55;transition:transform .45s ease}
.market-image-frame:hover img{transform:scale(1.035)}
.market-program-row{display:flex;gap:.85rem;align-items:start;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:1rem;margin:.65rem 0}
.market-program-row>span{color:#a07a3f;font-size:1.3rem}
.market-program-row h3{margin:0 0 .3rem}.market-program-row p{margin:0}
.market-banner{width:100%;aspect-ratio:3.3;object-fit:cover;border-radius:16px;margin-block:.2rem 1rem}
.market-steps{padding:0;list-style:none;counter-reset:step;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.market-steps li{position:relative;background:var(--surface);border:1px solid var(--line);padding:1.25rem 1.05rem;border-radius:14px;counter-increment:step}
.market-steps li:before{content:counter(step,arabic-indic);display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#e3eee0;color:#1a503f;font-weight:700;margin-bottom:.65rem}
.market-checks{list-style:none;padding:0;margin:.6rem 0 1rem;display:grid;gap:.5rem}
.market-checks li{display:flex;align-items:center;gap:.55rem}
.market-checks li:before{content:"✓";color:#175949;background:#dcf0df;border-radius:50%;width:23px;height:23px;display:grid;place-items:center;font-weight:700;flex:none}
.section-planner,.section-contact{background:color-mix(in srgb,var(--brand-pale),var(--surface) 36%);border-radius:21px;padding:clamp(15px,3vw,34px);color:#1b2b25}
.section-planner .market-heading p,.section-contact .market-heading p{color:#435a4e}
.section-contact{background:var(--market-paper)}
.market-faq{display:grid;gap:.48rem;max-width:900px}
.market-faq details{border:1px solid var(--line);border-radius:12px;padding:.84rem 1rem;background:var(--surface)}
.market-faq summary{font-weight:700;cursor:pointer}
.market-faq p{color:var(--muted);margin:.55rem 0 0}
.teacher-public-grid,.editorial-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.92rem}
.teacher-public-grid .avatar{margin-bottom:.48rem}
.editorial-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.editorial-card-image{aspect-ratio:1.62;width:100%;height:auto;object-fit:cover}
.editorial-card-body{padding:1rem;display:flex;flex:1;flex-direction:column}
.editorial-card h3{margin:.12rem 0 .36rem}
.editorial-card p{margin:.12rem 0 .8rem;color:var(--muted);font-size:.88rem}
.read-article{display:inline-flex;align-items:center;gap:.45rem;margin-top:auto;font-weight:700;color:var(--ink);align-self:start;font-size:.85rem}
.read-article:hover{text-decoration:underline;text-underline-offset:.25em}
.document-copy{max-width:820px;margin:1.6rem auto 2.2rem;line-height:1.95}
.document-copy h1{line-height:1.53}
.document-lead{font-size:1.1rem;color:var(--muted)}
.document-photo{width:100%;max-height:570px;border-radius:17px;aspect-ratio:1.63;object-fit:cover;margin:.55rem 0 1.4rem}
.document-copy p{margin:0 0 1rem}
.document-copy+.panel{max-width:820px;margin-inline:auto}
.editor-preview-image{display:block;max-width:min(100%,260px);max-height:150px;object-fit:cover;border-radius:9px;margin:.3rem 0}
.editor-logo{display:block;max-width:130px;max-height:95px;object-fit:contain;margin:.4rem 0}
.registration-intro{display:grid;gap:.55rem;margin:2rem 0;min-height:55vh;align-content:start}
.registration-intro>.tag{justify-self:start}
.registration-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.8rem}
.registration-card{display:flex;flex-direction:column;align-items:start;gap:.35rem}
.registration-card>i{width:47px;height:47px;display:grid;place-items:center;background:#e3eee0;border-radius:10px;color:#175949;font-style:normal;font-size:1.28rem}
.registration-card h2,.registration-card p{margin:0}
.registration-card p{color:var(--muted);flex:1;margin-bottom:.3rem}
.chat-layout{display:grid;grid-template-columns:minmax(205px,.8fr) minmax(0,2fr);gap:1rem;align-items:start}
.chat-side h2,.chat-head h2{margin:0}
.chat-side>.inline-form,.chat-side>.stack,.chat-filter{margin-block:.5rem}
.chat-filter{border-block:1px solid var(--line);padding:.57rem 0}
.chat-filter>summary,.chat-flags>summary{cursor:pointer;font-size:.88rem;font-weight:700}
.chat-filter .stack{margin:.6rem 0 .25rem}
.threads{display:grid;gap:.3rem;max-height:590px;overflow:auto}
.thread-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.25rem .53rem;align-items:center;background:var(--surface2);padding:.6rem;border-radius:8px;line-height:1.5}
.thread-row b{grid-row:1;font-size:.91rem}
.thread-row>span:not(.badge){grid-row:2;font-size:.76rem;color:var(--muted)}
.thread-row .badge{grid-row:1/3;grid-column:2}
.thread-row.selected{border-inline-start:3px solid var(--brand);background:color-mix(in srgb,var(--brand-pale),var(--surface) 19%);color:#1b2b25}
.thread-row.selected span:not(.badge){color:#435a4e}
.chat-main{display:grid;gap:.6rem}
.chat-head{display:flex;gap:.6rem;align-items:center;flex-wrap:wrap}
.chat-messages{min-height:240px;max-height:54vh;overflow:auto;display:flex;flex-direction:column;gap:.64rem;padding:.9rem;background:var(--surface2);border-radius:13px;scrollbar-width:thin}
.chat-bubble{align-self:start;max-width:min(85%,550px);border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:.55rem .78rem}
.chat-bubble.own{align-self:end;background:#dceae0;border-color:#cbdccf;color:#132b21}
.bubble-meta{display:flex;align-items:center;gap:.7rem;justify-content:space-between;flex-wrap:wrap;margin-block-end:.32rem;font-size:.78rem}
.bubble-meta time{font-size:.7rem;opacity:.8;white-space:nowrap}
.chat-image{display:block;max-width:min(100%,290px);max-height:230px;object-fit:contain;border-radius:8px;margin:.35rem 0}
.chat-report{margin-top:.32rem;font-size:.75rem;color:var(--muted)}
.chat-report summary{cursor:pointer}
.chat-report form{margin-top:.45rem}
.chat-compose{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.7fr);align-items:end;gap:.55rem}
.chat-compose>.actions{grid-column:1/-1;margin:0}
.chat-compose>.field:first-of-type{grid-column:1/-1}
.chat-flags{background:var(--gold-pale);border-radius:9px;padding:.55rem .72rem}
.whatsapp-fab{position:fixed;bottom:max(15px,env(safe-area-inset-bottom));z-index:21;display:flex;align-items:center;gap:.52rem;padding:.56rem .76rem;background:#126846;color:#fff;border:1px solid #146346;border-radius:999px;min-height:44px;box-shadow:0 8px 24px #0e3f2f33;font-weight:700;font-size:.82rem;transition:transform .2s ease}
.whatsapp-fab:hover{color:#fff;background:#095538;transform:translateY(-2px)}
.fab-left{left:clamp(11px,2vw,30px)}.fab-right{right:clamp(11px,2vw,30px)}
.whatsapp-symbol{width:25px;height:25px;object-fit:contain;flex:none}
.install-callout{position:fixed;z-index:25;bottom:max(72px,calc(env(safe-area-inset-bottom) + 54px));right:clamp(11px,2vw,30px);border:1px solid #c6dacf;border-radius:15px;background:var(--surface);color:var(--ink);box-shadow:0 15px 43px #102b2329;display:flex;align-items:center;gap:.7rem;width:min(490px,calc(100% - 22px));padding:.65rem}
.install-app-icon{display:grid;place-items:center;width:36px;height:36px;flex:none;border-radius:9px;background:#dbeee0;color:#134c3a;font-size:1.18rem}
.install-text{min-width:0;flex:1;line-height:1.55}
.install-text strong{font-size:.86rem}.install-text p{margin:0;font-size:.76rem;color:var(--muted)}
.install-choices{display:grid;gap:.13rem}
.install-choices>.btn{min-height:32px;font-size:.75rem;padding:.26rem .5rem}
.js-reveal{opacity:0;transform:translateY(15px);transition:opacity .58s ease,transform .58s ease}
.js-reveal.shown{opacity:1;transform:none}
.js-reveal:focus-within{opacity:1;transform:none}

@media(max-width:820px){.market-hero{min-height:375px}.market-hero-copy{padding:1.5rem}.hero-facts{gap:.35rem}.market-split{gap:1rem}.chat-layout{grid-template-columns:minmax(180px,.78fr) minmax(0,1.22fr)}.registration-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:590px){
.market-hero{grid-template-columns:1fr;margin-top:.85rem;border-radius:20px;min-height:0}
.market-hero-copy{padding:1.3rem 1.05rem}.market-hero h1{font-size:clamp(1.95rem,7vw,2.7rem);max-width:18ch}
.market-hero-visual{aspect-ratio:1.34}.market-hero-photo{object-position:50% 46%}
.hero-facts{margin-top:.8rem;padding-top:.7rem}.hero-facts dd{font-size:.69rem}
.market-split,.market-steps,.editorial-grid,.teacher-public-grid,.chat-layout{grid-template-columns:1fr}
.market-image-frame,.market-section-image{min-height:180px}
.market-section-image{max-height:250px}
.market-heading h1,.market-heading h2{font-size:1.45rem}
.chat-side .threads{max-height:210px}.chat-bubble{max-width:94%}.chat-compose{grid-template-columns:1fr}
.dash-jump{display:none}.public-bar-inner{min-height:64px}.public-bar .brand strong{font-size:.73rem}
.whatsapp-fab{padding:.57rem}.whatsapp-fab>span:last-child{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.install-app-icon{display:none}
}
@media(max-width:360px){.registration-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.js-reveal{opacity:1;transform:none;transition:none}}
@media print{.whatsapp-fab,.install-callout{display:none!important}}
.subscription-offer{
  --offer-surface:color-mix(in srgb,var(--brand-pale),#f4f5eb 58%);
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);
  gap:1rem;
  align-items:stretch;
  padding:1rem;
  background:var(--offer-surface);
  border:1px solid color-mix(in srgb,var(--brand),#fff 79%);
  border-radius:24px;
}
.subscription-benefits{padding:clamp(.85rem,3vw,2.35rem);color:#193126}
.subscription-benefits .market-heading p{color:#445b50}
.subscription-benefits .market-checks{gap:.65rem}
.subscription-image{width:min(300px,100%);max-height:145px;object-fit:cover;border-radius:11px;margin-top:.55rem}
.subscription-price-panel{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:.8rem;
  min-width:0;
  padding:clamp(17px,3.3vw,39px);
  background:linear-gradient(150deg,color-mix(in srgb,var(--brand),#18382b 32%),#102b23 83%);
  border-radius:16px;
  color:#fff;
}
.subscription-price-panel h3{font-family:var(--body);font-size:1rem;margin:0;color:#ecf4ed}
.subscription-price-line{display:flex;flex-wrap:wrap;align-items:baseline;gap:.3rem .7rem;margin:0}
.subscription-price-line strong{font:700 clamp(2.7rem,5vw,4.5rem)/1 var(--head);color:#f6dfa3;letter-spacing:-.05em;overflow-wrap:anywhere}
.subscription-price-line span{font-size:clamp(.88rem,1.6vw,1.1rem);font-weight:700}
.subscription-period{margin:0;color:#e0ede3;font-size:.88rem}
.subscription-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.35rem}
.subscription-actions .primary{background:#f6dfa3;color:#1d392c;border-color:#f6dfa3}
.subscription-actions .primary:hover{background:#ffe8af;color:#152b22}
.footer-whatsapp{display:inline-flex;align-items:center;gap:.5rem;font-size:.82rem;color:var(--muted);margin-top:.3rem}
.contact-number{display:inline-block;font-weight:700;color:#28583d;margin:0}
@media(max-width:620px){
  .subscription-offer{grid-template-columns:1fr;padding:.65rem;gap:.6rem}
  .subscription-benefits{padding:.5rem .58rem}
  .subscription-price-panel{padding:1rem}
}
