@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');
:root{--ink:#152019;--muted:#6c766f;--line:#e4e9e4;--bg:#f6f8f5;--card:#fff;--brand:#126b4f;--accent:#e8f5ee;--gold:#e9b949;--shadow:0 14px 40px rgba(24,52,37,.08)}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:"DM Sans",sans-serif}a{text-decoration:none;color:inherit}.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:28px;padding:0 max(20px,calc((100% - 1180px)/2));position:sticky;top:0;z-index:10}.brand{font-family:"Space Grotesk";font-weight:700;font-size:19px;white-space:nowrap}.brand b{color:var(--brand)}.brand-mark{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--brand);color:#fff;font-size:12px;margin-right:7px}.search{display:flex;flex:1;max-width:470px}.search input{flex:1;border:1px solid var(--line);border-right:0;border-radius:10px 0 0 10px;padding:12px 14px;background:#fafbfa}.search button{border:0;background:#eef3ef;border-radius:0 10px 10px 0;padding:0 16px}.topbar nav{display:flex;align-items:center;gap:20px;font-size:14px}.btn{display:inline-flex;align-items:center;justify-content:center;background:var(--brand);color:#fff;padding:12px 18px;border-radius:10px;border:0;font-weight:700;cursor:pointer}.btn.ghost{background:#fff;color:var(--brand);border:1px solid #cfe0d5}.btn.small{padding:9px 13px}.btn.full{width:100%}.shell{max-width:1180px;margin:auto;padding:30px 20px 70px}.hero{display:grid;grid-template-columns:1.35fr .65fr;gap:30px;padding:55px 0 35px;align-items:center}.eyebrow{text-transform:uppercase;letter-spacing:1.7px;font-size:11px;font-weight:800;color:var(--brand)}h1,h2,h3{font-family:"Space Grotesk";margin:0 0 10px}.hero h1{font-size:55px;line-height:1.03;letter-spacing:-2px}.hero h1 span{color:var(--brand)}.hero p,.page-head p{color:var(--muted);font-size:17px;max-width:610px;line-height:1.7}.hero-actions{display:flex;gap:12px;margin-top:25px}.hero-card{background:var(--brand);color:#fff;border-radius:24px;padding:28px;box-shadow:var(--shadow);min-height:230px}.hero-card strong{font:700 32px "Space Grotesk";display:block;margin:25px 0}.mini-label{opacity:.75;font-size:12px}.pulse-row{display:flex;justify-content:space-between;gap:15px;border-top:1px solid rgba(255,255,255,.2);padding:14px 0;font-size:13px}.campus-bar{background:#fff;border:1px solid var(--line);border-radius:16px;padding:15px 18px;display:flex;justify-content:space-between;align-items:center;box-shadow:var(--shadow)}.campus-bar div{display:flex;align-items:center;gap:10px}.campus-bar small{color:var(--muted)}.campus-dot{width:9px;height:9px;border-radius:50%;background:#27a66f}.campus-bar a{color:var(--brand);font-weight:700;font-size:13px}.section{margin-top:45px}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:18px}.section-head p{margin:0;color:var(--muted);font-size:14px}.section-head>a{color:var(--brand);font-weight:700;font-size:13px}.feature-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.feature{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px;transition:.2s}.feature:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.feature span{font-size:25px;display:block;margin-bottom:20px}.feature b,.feature small{display:block}.feature small{color:var(--muted);margin-top:5px;font-size:12px}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.product{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}.product-img{height:150px;background:#eef3ee;display:grid;place-items:center;font-size:45px}.product-img img{width:100%;height:100%;object-fit:cover}.product-body{padding:15px}.product-body small{color:var(--brand);font-weight:700}.product-body h3{font-size:16px;margin:7px 0}.product-body strong{font-size:18px}.product-body p{font-size:12px;color:var(--muted)}.split{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:35px}.panel,.list-panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px}.post{display:flex;gap:12px;padding:17px 0;border-top:1px solid var(--line)}.post:first-of-type{border-top:0}.avatar{flex:0 0 38px;width:38px;height:38px;border-radius:50%;background:#e8f5ee;color:var(--brand);display:grid;place-items:center;font-weight:800}.post p{margin:8px 0;color:#38413b;line-height:1.5}.post small,.job small{color:var(--muted)}.verified{font-style:normal;color:#fff;background:var(--brand);border-radius:50%;font-size:9px;padding:2px 4px}.post-actions{color:#7b857d;font-size:12px}.job{display:flex;gap:12px;align-items:center;padding:14px 0;border-top:1px solid var(--line)}.job:first-of-type{border-top:0}.job>span{font-size:22px}.job div{flex:1}.job b,.job small{display:block}.job strong{font-size:14px}.page-head{padding:45px 0 25px}.page-head h1{font-size:44px}.filterbar{display:flex;gap:10px;margin-bottom:22px}.filterbar input,.filterbar select{padding:12px;border:1px solid var(--line);border-radius:10px;background:#fff}.filterbar input{flex:1}.list-panel{padding:0 20px}.job-card{display:flex;align-items:center;gap:15px;padding:22px 0;border-bottom:1px solid var(--line)}.job-card:last-child{border-bottom:0}.job-icon{font-size:30px}.job-card>div:nth-child(2){flex:1}.job-card p{color:var(--muted)}.pay{font-weight:800}.event-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.event-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px;display:flex;gap:15px}.event-date{background:var(--accent);color:var(--brand);border-radius:12px;padding:12px;font-weight:800;height:max-content}.event-card p{color:var(--muted)}.empty{text-align:center;background:#fff;border:1px dashed #ccd7cf;border-radius:20px;padding:70px}.empty span{font-size:40px}footer{background:#12221a;color:#dce7df;padding:40px max(20px,calc((100% - 1180px)/2));display:flex;justify-content:space-between}footer p,footer a{color:#aebeb3;font-size:13px;margin-right:20px}.auth-page{min-height:100vh;display:grid;place-items:center;padding:20px}.auth-card{width:min(470px,100%);background:#fff;border:1px solid var(--line);border-radius:22px;padding:34px;box-shadow:var(--shadow)}.auth-card h1{font-size:34px;margin-top:35px}.auth-card>p{color:var(--muted);line-height:1.6}.auth-card form{display:grid;gap:15px;margin-top:25px}.auth-card label{font-weight:700;font-size:13px}.auth-card input,.auth-card select{display:block;width:100%;padding:13px;margin-top:7px;border:1px solid var(--line);border-radius:10px}.alert{background:#fff1f0;color:#a3261c;padding:12px;border-radius:10px;font-size:13px}.center{text-align:center}
@media(max-width:900px){.feature-grid{grid-template-columns:repeat(3,1fr)}.cards{grid-template-columns:repeat(2,1fr)}.hero{grid-template-columns:1fr}.split{grid-template-columns:1fr}.event-grid{grid-template-columns:1fr}.topbar{gap:12px}.topbar .search{display:none}.topbar nav{margin-left:auto}.topbar nav{overflow-x:auto;white-space:nowrap;max-width:65vw;gap:12px}}
@media(max-width:560px){.shell{padding:20px 14px 50px}.hero{padding-top:30px}.hero h1{font-size:40px}.hero-card{min-height:180px}.feature-grid{grid-template-columns:repeat(2,1fr)}.cards{grid-template-columns:1fr 1fr;gap:10px}.product-img{height:120px}.product-body{padding:11px}.product-body h3{font-size:14px}.filterbar{flex-wrap:wrap}.filterbar input{width:100%;flex-basis:100%}.campus-bar{align-items:flex-start;gap:10px}.campus-bar div{flex-wrap:wrap}.campus-bar small{width:100%}footer{display:block}.hero-actions{flex-direction:column}.page-head h1{font-size:36px}}

textarea{display:block;width:100%;padding:13px;margin-top:7px;border:1px solid var(--line);border-radius:10px;font-family:inherit;resize:vertical}.profile-form{display:grid;gap:16px;max-width:650px}.panel hr{border:0;border-top:1px solid var(--line);margin:25px 0}

.flash{padding:12px 16px;border-radius:12px;margin:14px 0;background:#e9f8ef}.flash.error{background:#fdecec}.form-card,.composer{max-width:760px;background:#fff;border:1px solid #e8e8e8;border-radius:18px;padding:24px;margin:20px 0;box-shadow:0 8px 30px rgba(0,0,0,.04)}label{display:block;font-weight:700;margin:14px 0}input,select,textarea{width:100%;box-sizing:border-box;border:1px solid #ddd;border-radius:10px;padding:12px;margin-top:7px;font:inherit}button{font:inherit;cursor:pointer}.two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.detail{display:grid;grid-template-columns:minmax(280px,1fr) minmax(300px,1fr);gap:40px;background:#fff;border-radius:22px;padding:28px;margin-top:20px}.detail-image{min-height:360px;border-radius:18px;background:#f5f5f5;display:flex;align-items:center;justify-content:center;font-size:80px;overflow:hidden}.detail-image img{width:100%;height:100%;object-fit:cover}.price-big{font-size:34px;font-weight:800;margin:16px 0}.seller{padding:16px 0;border-top:1px solid #eee}.detail-actions{display:flex;gap:10px;margin-top:18px}.messages{display:grid;grid-template-columns:280px 1fr;min-height:560px;background:#fff;border:1px solid #eee;border-radius:18px;overflow:hidden}.contacts{border-right:1px solid #eee;padding:18px}.contacts a{display:block;padding:12px;border-radius:10px}.contacts a:hover{background:#f5f5f5}.chat{display:flex;flex-direction:column}.chat>h2{padding:18px;margin:0;border-bottom:1px solid #eee}.chat-body{flex:1;padding:18px;overflow:auto}.bubble{max-width:70%;padding:10px 14px;border-radius:14px;background:#f1f1f1;margin:8px 0}.bubble.mine{margin-left:auto;background:#e7f7ed}.bubble small{display:block;opacity:.55;margin-top:5px}.chat-form{display:flex;gap:10px;padding:14px;border-top:1px solid #eee}.chat-form input{margin:0}.profile-head{display:flex;gap:20px;align-items:center;background:#fff;border-radius:20px;padding:25px;margin-bottom:20px}.profile-avatar{width:86px;height:86px;border-radius:50%;display:grid;place-items:center;background:#111;color:#fff;font-size:34px}.inline-actions{display:flex;gap:15px;align-items:center}.inline-actions button{border:0;background:none;padding:0}.comment-form{display:flex;gap:8px;margin-top:12px}.comment-form input{margin:0}.comment-form button{border:0;background:#111;color:#fff;border-radius:8px;padding:8px 12px}.post-main{flex:1}.product{text-decoration:none;color:inherit}.product-img img{width:100%;height:100%;object-fit:cover}.auth{min-height:100vh;display:grid;place-items:center;background:#f6f7f8}.auth-card{width:min(440px,calc(100% - 32px));background:#fff;border-radius:20px;padding:30px;box-shadow:0 15px 50px rgba(0,0,0,.08)}.auth-card .brand{display:inline-flex;margin-bottom:25px}.auth-switch{text-align:center}.verified{font-style:normal;color:#1877f2}.small{padding:8px 12px!important}.event-card,.job-card{background:#fff;border:1px solid #eee;border-radius:16px;padding:20px}.event-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}.filterbar{display:flex;gap:10px;margin:20px 0;align-items:center}.filterbar input,.filterbar select{margin:0}.filterbar input{flex:1}@media(max-width:700px){.two,.detail,.messages{grid-template-columns:1fr}.contacts{border-right:0;border-bottom:1px solid #eee}.detail-image{min-height:240px}.filterbar{flex-wrap:wrap}.filterbar input,.filterbar select{width:100%}.topbar{height:auto;min-height:64px;flex-wrap:wrap;padding:10px 14px}.topbar nav{display:flex;width:100%;max-width:100%;overflow-x:auto;white-space:nowrap;gap:16px;padding:5px 0}.topbar nav>a{display:inline-block!important}}

/* Bookshop */
.bookshop-link{font-weight:700}
.book-categories{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:22px 0 34px}
.book-category{display:flex;flex-direction:column;gap:5px;padding:20px;border:1px solid var(--line);border-radius:18px;background:#fff;text-decoration:none;color:inherit;box-shadow:0 5px 18px rgba(20,30,50,.04)}
.book-category span{font-size:30px}.book-category b{font-size:17px}.book-category small{color:var(--muted)}.book-category.active{border-color:#111;transform:translateY(-2px)}
.book-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.book-card{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;display:flex;flex-direction:column}.book-cover{height:150px;background:linear-gradient(135deg,#eef2ff,#f8fafc);display:flex;align-items:center;justify-content:center;position:relative}.book-cover span{font-size:62px}.book-cover small{position:absolute;left:12px;bottom:10px;background:#fff;padding:5px 9px;border-radius:999px}.book-body{padding:17px}.book-body h3{margin:0 0 7px}.book-body p{color:var(--muted)}.book-author{font-weight:600!important;color:#333!important}.book-actions{display:flex;gap:8px;margin-top:14px}.book-reader-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;margin-bottom:18px}.book-reader-head h1{margin:12px 0 5px}.book-reader{height:78vh;background:#222;border-radius:16px;overflow:hidden}.book-reader iframe{width:100%;height:100%;border:0}.check{display:flex!important;flex-direction:row!important;align-items:center;gap:8px}.check input{width:auto!important}.bookshop-link{white-space:nowrap}
@media(max-width:850px){.book-categories{grid-template-columns:repeat(2,1fr)}.book-grid{grid-template-columns:1fr 1fr}.book-reader-head{align-items:flex-start;flex-direction:column}}
@media(max-width:560px){.book-grid{grid-template-columns:1fr}.book-categories{grid-template-columns:1fr 1fr}.bookshop-link{display:inline-block}.book-reader{height:70vh}}


/* Mobile readability and touch targets */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}body{font-size:16px;line-height:1.5}button,.btn{min-height:44px}input,select,textarea{font-size:16px}
.install-app{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:24px 0;background:linear-gradient(120deg,#fff,#eaf6ef)}.install-app p{max-width:680px;color:var(--muted)}.install-status{font-size:14px}.install-badge{width:82px;height:82px;flex:none;border-radius:24px;display:grid;place-items:center;background:var(--brand);color:white;font:700 24px "Space Grotesk";box-shadow:var(--shadow)}
@media(max-width:700px){body{font-size:16px}.shell{padding:18px 12px 42px}.topbar{padding:10px 12px;gap:8px}.topbar nav{gap:10px;font-size:15px}.topbar nav>a{padding:7px 2px}.hero h1{font-size:clamp(36px,10vw,46px);line-height:1.08;letter-spacing:-1px}.page-head{padding:28px 0 18px}.page-head h1{font-size:clamp(30px,8vw,38px);line-height:1.12}.hero p,.page-head p{font-size:16px;line-height:1.55}.feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.feature{padding:14px}.feature span{margin-bottom:10px}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-body p{font-size:14px}.product-body h3{font-size:16px}.filterbar{align-items:stretch}.filterbar .btn{width:100%}.section-head{align-items:flex-start;gap:10px;flex-wrap:wrap}.form-card,.composer,.panel{padding:16px}.event-card,.job-card{padding:15px}.inline-actions{flex-wrap:wrap;gap:10px}.messages{min-height:0}.contacts{max-height:42vh;overflow:auto}.chat-body{min-height:260px}.chat-form{flex-wrap:wrap}.chat-form input{min-width:0;width:100%}.install-app{align-items:flex-start;padding:16px}.install-badge{width:56px;height:56px;border-radius:16px}.empty{padding:36px 16px}}
@media(max-width:380px){.feature-grid,.cards{grid-template-columns:1fr}.hero-actions .btn{width:100%}.brand{font-size:17px}.topbar nav{max-width:100%;gap:12px}}
