/* Proteus Labs — V3 maquettes shared styles */
@page { size: 1440px 22000px; margin: 0; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'DejaVu Sans', sans-serif; color: #14142b; background: #fff; width: 100%; font-size: 15px; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
.wrap { width: 1160px; max-width: 100%; margin: 0 auto; padding: 0 24px; }
header { background: #fff; border-bottom: 1px solid #ececf2; padding: 18px 0; }
.nav { display: flex; align-items: center; }
.nav img.logo { height: 50px; width: auto; }
.nav .links { display: flex; margin-left: 70px; }
.nav .links a { font-size: 15px; color: #3a3a55; margin-right: 44px; }
.nav .links a.active { color: #0b0b1e; font-weight: bold; }
.nav .right { margin-left: auto; display: flex; align-items: center; }
.nav .lang { font-size: 13px; color: #6b6b85; margin-right: 22px; }
.btn-yellow { display: inline-block; background: #ffd21e; color: #14142b; font-weight: bold; border-radius: 8px; padding: 12px 24px; font-size: 15px; }
.btn-outline { display: inline-block; border: 2px solid #fff; color: #fff; font-weight: bold; border-radius: 8px; padding: 11px 24px; font-size: 15px; }
.btn-dark-outline { display: inline-block; border: 2px solid #14142b; color: #14142b; font-weight: bold; border-radius: 8px; padding: 11px 24px; font-size: 15px; }
.hero { position: relative; overflow: hidden; min-height: 520px; background: #0a0814 url('hero.jpg') center/cover; }
.hero .hero-video { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%; aspect-ratio: 16 / 9; min-height: 100%; border: 0; pointer-events: none; z-index: 0; }
.hero .shade { position: relative; z-index: 1; background: rgba(10, 8, 20, 0.55); padding: 84px 0 70px 0; text-align: center; color: #fff; }
.hero .promo { letter-spacing: 4px; font-size: 12px; color: #d8d8e2; margin-bottom: 28px; }
.hero h1 { font-size: 52px; line-height: 1.15; margin-bottom: 24px; }
.hero .sub { font-size: 19px; color: #e8e8f0; margin-bottom: 34px; }
.hero .ctas a { margin: 0 10px; }
.hero .subjects { margin-top: 52px; letter-spacing: 3px; font-size: 12px; color: #c9c9d6; }
section { padding: 64px 0; }
.eyebrow { color: #ff00cc; font-weight: bold; letter-spacing: 3px; font-size: 13px; margin-bottom: 14px; }
h2.center { text-align: center; font-size: 36px; line-height: 1.25; }
h2 { font-size: 34px; line-height: 1.25; }
.accent { color: #ff00cc; }
.section-sub { text-align: center; color: #5c5c78; margin-top: 16px; font-size: 16px; }
.tiles { display: flex; margin-top: 44px; }
.tile { flex: 1; background: #fff; border: 1px solid #e7e7ef; border-radius: 10px; margin-right: 22px; padding: 0 0 22px 0; }
.tile:last-child { margin-right: 0; }
.tile .grad { height: 6px; border-radius: 10px 10px 0 0; background: linear-gradient(90deg, #14142b, #ff00cc, #ffb020); }
.tile .body { padding: 20px 20px 0 20px; }
.dot { width: 26px; height: 26px; border-radius: 50%; border: 7px solid #ffd21e; background: #14142b; margin-bottom: 14px; }
.dot.pink { border-color: #ff00cc; }
.tile h3 { font-size: 17px; margin-bottom: 10px; line-height: 1.3; }
.tile p { font-size: 13px; color: #5c5c78; }
.split { display: flex; align-items: center; }
.split .imgs { display: flex; background: #f4f4f8; border: 1px solid #ececf2; border-radius: 12px; padding: 14px; margin-right: 48px; }
.split .imgs img { width: 250px; height: 300px; object-fit: cover; border-radius: 8px; margin-right: 12px; }
.split .imgs img:last-child { margin-right: 0; }
.split .txt { flex: 1; }
.split .txt h2 { margin-bottom: 24px; }
ul.checks { list-style: none; }
ul.checks li { padding-left: 30px; margin-bottom: 14px; color: #3a3a55; font-size: 15px; position: relative; }
ul.checks li::before { content: ''; position: absolute; left: 0; top: 3px; width: 8px; height: 8px; border-radius: 50%; border: 4px solid #ffd21e; background: #14142b; }
.banner { background: #f4f4f8; }
.banner .inner { display: flex; align-items: center; }
.banner img { width: 380px; height: 300px; object-fit: cover; border-radius: 12px; margin-right: 48px; }
.banner h2 { font-size: 30px; margin-bottom: 18px; }
.banner p { color: #5c5c78; font-size: 16px; }
.pills { margin: 26px 0 30px 0; }
.pill { display: inline-block; border: 1px solid #d9d9e3; border-radius: 20px; padding: 8px 18px; font-size: 13px; color: #3a3a55; margin: 0 8px 10px 0; background: #fff; text-decoration: none; cursor: pointer; }
a.pill:hover { border-color: #0b0b1e; color: #0b0b1e; }
.pill.on { background: #0b0b1e; color: #fff; border-color: #0b0b1e; font-weight: bold; }
.labgrid { display: flex; flex-wrap: wrap; }
.labcard { width: 365px; display: flex; align-items: center; border: 1px solid #e7e7ef; border-radius: 10px; padding: 12px; margin: 0 25px 25px 0; background: #fff; color: #14142b; text-decoration: none; transition: box-shadow .15s, border-color .15s; }
a.labcard:hover { border-color: #14142b; box-shadow: 0 6px 18px rgba(20,20,43,.10); }
h3[id^="cat-"] { scroll-margin-top: 90px; }
.labgrid .labcard:nth-child(3n) { margin-right: 0; }
.labcard img { width: 120px; height: 84px; object-fit: cover; border-radius: 6px; margin-right: 16px; }
.labcard h4 { font-size: 16px; margin-bottom: 5px; line-height: 1.25; }
.labcard .cat { color: #ff00cc; font-weight: bold; font-size: 11px; letter-spacing: 1.5px; }
.labcard .num { color: #8a8aa0; font-size: 12px; }
.seeall { font-weight: bold; font-size: 15px; }
.pf { display: flex; margin-top: 44px; }
.pf .col { flex: 1; border-radius: 12px; padding: 34px 34px 28px 34px; }
.pf .problem { background: #14142b; color: #fff; margin-right: 26px; }
.pf .problem .tag { color: #ff8a8a; }
.pf .problem p.lead { color: #c9c9d6; }
.pf .problem li { color: #d8d8e2; }
.pf .problem li::before { border-color: #ff8a8a; background: #fff; }
.pf .fix { background: #fffbea; border: 2px solid #ffd21e; }
.pf .fix .tag { color: #b8860b; }
.pf .tag { font-weight: bold; letter-spacing: 3px; font-size: 12px; margin-bottom: 12px; }
.pf h3 { font-size: 24px; margin-bottom: 8px; }
.pf p.lead { color: #5c5c78; margin-bottom: 18px; font-size: 15px; }
.quotes { display: flex; margin-top: 40px; }
.quote { flex: 1; background: #f7f7fa; border-radius: 12px; padding: 26px; margin-right: 22px; }
.quote:last-child { margin-right: 0; }
.quote p { font-style: italic; color: #3a3a55; margin-bottom: 18px; font-size: 14px; }
.quote .who { font-weight: bold; font-size: 14px; }
.quote .role { color: #8a8aa0; font-size: 12px; }
.stats { display: flex; margin-top: 24px; }
.stat { flex: 1; background: #f7f7fa; border-radius: 12px; padding: 30px; margin-right: 22px; text-align: center; }
.stat:last-child { margin-right: 0; }
.stat .n { font-size: 42px; font-weight: bold; }
.stat .l { letter-spacing: 2px; font-size: 12px; color: #6b6b85; margin-top: 8px; }
.footnote { text-align: center; color: #8a8aa0; font-size: 12px; margin-top: 22px; }
.devices { text-align: center; }
.chips { margin-top: 28px; }
.chip { display: inline-block; border: 1px solid #d9d9e3; border-radius: 8px; padding: 12px 22px; margin: 0 7px 12px 7px; font-size: 14px; font-weight: bold; color: #3a3a55; }
.soon { display: inline-block; background: #fffbea; border: 1px solid #ffd21e; border-radius: 8px; padding: 12px 22px; font-weight: bold; font-size: 14px; margin-top: 10px; }
.community { background: #0b0b1e; color: #fff; text-align: center; padding: 70px 0; }
.community h2 { font-size: 34px; margin-bottom: 14px; }
.community p { color: #c9c9d6; margin-bottom: 30px; }
footer { background: #fff; border-top: 1px solid #ececf2; padding: 50px 0 34px 0; }
.fcols { display: flex; }
.fcol { flex: 1; }
.fcol h5 { font-size: 14px; margin-bottom: 14px; }
.fcol a { display: block; color: #6b6b85; font-size: 13px; margin-bottom: 9px; }
.fbottom { border-top: 1px solid #ececf2; margin-top: 40px; padding-top: 24px; display: flex; align-items: center; }
.fbottom img { height: 28px; margin-right: 30px; }
.fbottom .langs { color: #8a8aa0; font-size: 12px; }
.fbottom .copy { color: #8a8aa0; font-size: 12px; margin: 0 auto; }
.pagehead { padding: 56px 0 30px 0; }
.pagehead h1 { font-size: 44px; margin-bottom: 14px; }
.pagehead .lead { color: #5c5c78; font-size: 17px; max-width: 860px; }
.hr { border-bottom: 1px solid #e7e7ef; margin-top: 26px; }
.video { background: #0b0b1e; border-radius: 12px; color: #fff; display: flex; align-items: center; justify-content: center; text-align: center; }
.video .play { width: 64px; height: 64px; border-radius: 50%; background: #ffd21e; color: #14142b; font-size: 24px; line-height: 64px; margin: 0 auto 14px auto; font-weight: bold; }
.video .cap { color: #c9c9d6; font-size: 13px; letter-spacing: 2px; }
.steps { margin-top: 30px; }
.step { display: flex; align-items: flex-start; margin-bottom: 22px; }
.step .n { width: 40px; height: 40px; border-radius: 50%; background: #ffd21e; font-weight: bold; text-align: center; line-height: 40px; font-size: 17px; margin-right: 20px; }
.step p { padding-top: 8px; font-size: 16px; color: #3a3a55; }
.rescards { display: flex; flex-wrap: wrap; margin-top: 30px; }
.rescard { width: 365px; border: 1px solid #e7e7ef; border-radius: 10px; margin: 0 25px 25px 0; background: #fff; overflow: hidden; }
.rescards .rescard:nth-child(3n) { margin-right: 0; }
.rescard .video { height: 130px; border-radius: 0; }
.rescard .body { padding: 16px; }
.rescard h4 { font-size: 15px; line-height: 1.35; }
.rescard .tagline { color: #8a8aa0; font-size: 12px; margin-top: 6px; }
.langchips .chip { font-weight: normal; padding: 9px 16px; font-size: 13px; margin: 0 6px 10px 0; }
.regions { display: flex; flex-wrap: wrap; margin-top: 36px; }
.region { width: 556px; border: 1px solid #e7e7ef; border-radius: 12px; padding: 26px; margin: 0 24px 24px 0; }
.regions .region:nth-child(2n) { margin-right: 0; }
.region .flagbox { display: inline-block; background: #14142b; color: #fff; border-radius: 6px; font-weight: bold; font-size: 12px; letter-spacing: 1px; padding: 6px 12px; margin-bottom: 14px; }
.region h4 { font-size: 19px; margin-bottom: 10px; }
.region p { color: #5c5c78; font-size: 14px; margin-bottom: 8px; }
.region .partner { font-weight: bold; color: #14142b; }
.crumb { color: #8a8aa0; font-size: 13px; margin-bottom: 18px; }
.protohead { display: flex; align-items: flex-start; margin-top: 10px; }
.protohead img { width: 460px; height: 320px; object-fit: cover; border-radius: 12px; margin-right: 44px; border: 1px solid #e7e7ef; }
.protobox { border: 1px solid #e7e7ef; border-radius: 12px; padding: 34px; margin-top: 40px; }
.protobox h3 { color: #0b6ea8; font-size: 20px; margin: 26px 0 12px 0; }
.protobox h3:first-child { margin-top: 0; }
.protobox p, .protobox li { color: #3a3a55; font-size: 14px; margin-bottom: 10px; }
.protobox ul { margin-left: 20px; }
.manifesto p { font-size: 17px; color: #3a3a55; margin-bottom: 20px; }
.manifesto .big { font-size: 26px; font-weight: bold; color: #14142b; line-height: 1.4; }
.pullquote { border-left: 6px solid #ffd21e; padding: 6px 0 6px 26px; font-size: 22px; font-weight: bold; margin: 34px 0; }

/* ===== V4 additions ===== */
.socials { color:#8a8aa0; font-size:12px; margin-left:26px; }
/* Home: colorful "every student" band */
.banner.colorful { background: linear-gradient(120deg,#fff3fb 0%, #eef0ff 55%, #fff8e6 100%); }
.banner.colorful::before { content:''; }
/* section demarcation */
.band-top { border-top: 1px solid #ececf2; }
.devices.band { background:#f7f7fa; border-top:1px solid #ececf2; border-bottom:1px solid #ececf2; }
/* Labs search bar */
.searchbar { position:relative; max-width:520px; margin:22px 0 4px 0; }
.searchbar input { width:100%; border:1px solid #d9d9e3; border-radius:24px; padding:13px 18px 13px 44px; font-size:14px; color:#3a3a55; background:#fff; }
.searchbar::before { content:'\1F50D'; position:absolute; left:16px; top:11px; font-size:15px; opacity:.55; }
/* Intro / video image placeholder */
.videoimg { position:relative; border-radius:12px; overflow:hidden; }
.videoimg img { display:block; width:100%; height:100%; object-fit:cover; }
.videoimg .play { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:64px; height:64px; border-radius:50%; background:#ffd21e; color:#14142b; font-size:24px; line-height:64px; text-align:center; font-weight:bold; }
.videoimg .cap { position:absolute; bottom:12px; right:14px; background:rgba(10,8,20,.6); color:#fff; font-size:12px; letter-spacing:2px; padding:4px 10px; border-radius:6px; }
.metalogo { height:26px; vertical-align:middle; margin-left:12px; }
.metalogo.sm { height:22px; }
/* Downloads section (Resources & ClassVR) */
.downloads { border-top:2px solid #14142b; margin-top:46px; padding-top:30px; }
.dl-sub { margin-top:26px; }
.dl-sub h3 { font-size:20px; display:flex; align-items:center; }
.dl-sub h3::before { content:''; width:14px; height:14px; border-radius:50%; background:#ffd21e; border:3px solid #14142b; margin-right:12px; display:inline-block; }
.dl-sub p.desc { color:#5c5c78; font-size:14px; margin:6px 0 14px 26px; }
.dl-sub .langchips { margin-left:26px; }
/* ClassVR banner */
.cvr-banner { background:#f4f4f8; border-radius:14px; padding:30px 34px; margin-top:44px; }
.cvr-banner .top { display:flex; align-items:center; font-size:20px; font-weight:bold; }
.cvr-banner .top img { height:30px; margin-left:14px; }
.cvr-banner p { color:#3a3a55; font-size:15px; margin:14px 0 0 0; }
.cvr-banner .under { border-bottom:2px solid #ffd21e; }
.cvr-banner .go { margin-top:20px; }
.btn-dark { display:inline-block; background:#14142b; color:#fff; font-weight:bold; border-radius:8px; padding:11px 26px; font-size:15px; }
/* prominent FAQ callout */
.faq-callout { background:#fffbea; border:2px solid #ffd21e; border-radius:14px; padding:26px 34px; margin-top:34px; display:flex; align-items:center; }
.faq-callout .big-btn { font-size:16px; padding:14px 30px; }
/* Subscription V4 */
.sub-card { border:2px solid #14142b; border-radius:16px; padding:28px 32px; margin-top:30px; display:flex; gap:32px; background:linear-gradient(120deg,#f7f9ff, #fff6fb); }
.sub-card .left { width:170px; }
.sub-card .row { display:flex; align-items:center; margin-bottom:16px; }
.sub-card .flagbox { display:inline-block; background:#14142b; color:#fff; border-radius:6px; font-weight:bold; font-size:11px; letter-spacing:1px; padding:6px 12px; margin-right:14px; min-width:112px; text-align:center; }
.sub-card .rn { font-weight:bold; font-size:14px; color:#14142b; }
.sub-card .right { flex:1; color:#3a3a55; font-size:14px; }
.sub-card .right p { margin-bottom:10px; }
.partner-tag { color:#5c5c78; font-weight:bold; font-size:15px; max-width:820px; margin:30px 0 22px 0; }
.partner-row { display:flex; gap:22px; }
.partner-cell { flex:1; background:#fff; border:1px solid #e7e7ef; border-radius:14px; padding:22px 16px; text-align:center; }
.partner-cell .pc-h { font-size:12px; letter-spacing:2px; font-weight:bold; color:#8a8aa0; margin-bottom:14px; }
.partner-cell .logowrap { height:80px; display:flex; align-items:center; justify-content:center; }
.partner-cell img { max-height:74px; max-width:100%; object-fit:contain; }
.partner-cell .cu { display:inline-block; margin-top:10px; color:#14142b; font-weight:bold; border-bottom:2px solid #ffd21e; font-size:14px; }
.partner-vibrant { background:linear-gradient(120deg,#14142b 0%, #3a1b57 55%, #7a1050 100%); color:#fff; border-radius:16px; padding:44px; margin-top:34px; text-align:center; }
.partner-vibrant p.lead2 { font-size:20px; font-weight:bold; max-width:920px; margin:0 auto 22px auto; line-height:1.5; }
.connect-box { display:inline-block; background:rgba(255,255,255,.12); border:2px solid #ffd21e; border-radius:12px; padding:18px 26px; margin-top:6px; }
.connect-box .cl { font-size:18px; font-weight:bold; margin-bottom:14px; }
/* Why Proteus 3-image collage */
.collage { display:flex; gap:12px; background:#f4f4f8; border:1px solid #ececf2; border-radius:12px; padding:14px; margin-right:44px; }
.collage .col-a { display:flex; flex-direction:column; gap:12px; }
.collage .col-a img { width:210px; height:145px; object-fit:cover; border-radius:8px; }
.collage img.tall { width:250px; height:302px; object-fit:cover; border-radius:8px; }
/* Accordion FAQ */
.faqwrap { margin-top:20px; border-top:1px solid #e7e7ef; }
.faqitem { border-bottom:1px solid #e7e7ef; }
.faqq { width:100%; text-align:left; background:none; border:none; cursor:pointer; padding:16px 6px; font-size:14px; font-weight:bold; color:#14142b; display:flex; align-items:flex-start; gap:12px; font-family:inherit; }
.faqq .car { color:#ff00cc; transition:transform .2s; }
.faqq.open .car { transform:rotate(90deg); }
.faqa { padding:0 6px 18px 30px; color:#5c5c78; font-size:14px; display:none; }
.faqa.open { display:block; }
.faqhead { background:#eafcff; border-radius:14px; padding:28px 30px; text-align:center; margin-bottom:6px; }
.faqhead h2 { font-size:40px; letter-spacing:1px; }
/* Contact page */
.contact-hero { background:linear-gradient(rgba(10,8,20,.55),rgba(10,8,20,.55)), url('hero.jpg'); background-size:cover; background-position:center; color:#fff; text-align:center; padding:70px 0; }
.contact-hero h1 { font-size:44px; margin-bottom:12px; }
.contact-hero p { color:#e8e8f0; font-size:17px; }
.contact-form { background:#eafcff; padding:48px 0; }
.contact-form form { max-width:560px; margin:0 auto; }
.contact-form label { display:block; font-size:13px; color:#3a3a55; margin:16px 0 6px 2px; }
.contact-form input, .contact-form textarea { width:100%; border:1px solid #d9d9e3; border-radius:8px; padding:12px 14px; font-size:14px; font-family:inherit; color:#14142b; }
.contact-form textarea { min-height:120px; resize:vertical; }
.contact-form .send { width:100%; margin-top:22px; border:none; cursor:pointer; }
/* About page */
.about-sec { padding:44px 0; }
.about-sec.tint { background:linear-gradient(120deg,#fff3fb, #eef0ff); }
.about-sec.tint2 { background:#f7f7fa; }
.about-sec h2 { font-size:30px; margin-bottom:16px; }
.about-sec p { color:#3a3a55; font-size:16px; margin-bottom:16px; max-width:1000px; }
.about-img { width:100%; border-radius:14px; margin:6px 0 4px 0; display:block; }
/* Accessibility page */
.acc-sec { margin-top:30px; }
.acc-sec h2 { font-size:24px; color:#14142b; margin-bottom:10px; }
.acc-sec p, .acc-sec li { color:#3a3a55; font-size:15px; margin-bottom:10px; }
.acc-sec ul { margin-left:22px; }
.acc-note { background:#f7f7fa; border-left:6px solid #ffd21e; padding:16px 20px; border-radius:0 8px 8px 0; color:#5c5c78; font-size:14px; }

/* ===== V5 additions ===== */
/* Footer: socials at lower right of the Company column; copyright centered */
.fsocials { text-align:right; color:#8a8aa0; font-size:12px; margin-top:4px; }

/* ===== V5.1 tweaks (July 14, 2026) ===== */
.fsocials { text-align:center; }                 /* center social-media banner */
.fbottom .langs { display:none; }                /* remove EN·FR·ES·IT·KO — TranslatePress button used instead */
.pills { text-align:center; }                    /* center category tabs (Labs + Home preview) */
.partner-tag { text-align:center; margin-left:auto; margin-right:auto; }  /* center "By working…" */
/* Home "Our labs" header: center eyebrow + h2 + subtitle (subtitle has an inline text-align:left to override) */
.labs-preview .eyebrow, .labs-preview h2 { text-align:center; }
.labs-preview .section-sub { text-align:center !important; }
/* Resources: make each video card thumbnail show a preview + play affordance */
.rescard .videoimg { display:block; height:150px; }
/* Labs: category thumbnail beside each category heading */
.cat-head { display:flex; align-items:center; gap:16px; margin-top:30px; }
.cat-head img { width:56px; height:56px; border-radius:50%; object-fit:cover; border:1px solid #e7e7ef; background:#fff; flex:0 0 auto; }
.cat-head h3 { margin:0; scroll-margin-top:90px; }


/* TP floating language switcher: keep below header, avoid CTA overlap (2026-07-23) */
nav.trp-floating-switcher{top:104px !important;}
body.admin-bar nav.trp-floating-switcher{top:136px !important;}


/* Labs page: stronger category separation (2026-07-23) [cat-sep] */
h3[id^="cat-"]{position:relative;margin:72px 0 22px;padding-top:36px;border-top:1px solid #ececf2;font-size:26px;color:#14142b;}
h3[id^="cat-"]::after{content:"";display:block;width:64px;height:4px;border-radius:2px;margin-top:10px;background:linear-gradient(90deg,#14142b,#ff00cc,#ffb020);}
.pills + h3[id^="cat-"]{margin-top:40px;}

/* Logo - 2026-08-30 */
.nav > a { flex: 0 0 auto; }
.nav .links a { white-space: nowrap; }
.nav .right a { white-space: nowrap; }
@media (max-width: 760px) { .nav { flex-wrap: wrap; } .nav img.logo { height: 44px; } }
