/* Shared WiMeet site chrome: header, mobile menu, buttons and footer used by the landing page, app pages, public pages and login.
   Markup comes from src/server/site.mjs. Pages run full width at every screen size, like www.wiracode.com;
   --gutter alone keeps content off the edges. */
/* Tokens follow www.wiracode.com (apps/web/src/css/style.css in wiracode-site) so WiMeet reads as part of the same family. */
:root{--ink:#0d1c2a;--ink2:#47545f;--muted:#66727c;--line:#e4e6e3;--bg2:#f1f5f6;--navy:#0d1c2a;--navy2:#1a2d3e;--accent:#0b6f8a;--accent-h:#084f64;--accent-soft:#e6f2f4;--brand-gradient:linear-gradient(135deg,#03465d 0%,#087f95 58%,#12bfc5 100%);--r-sm:10px;--r:16px;--r-lg:24px;--gutter:clamp(20px,4vw,112px);--header-h:68px}
.lp-header .brand,.lp-footer .brand{display:flex;gap:10px;align-items:center;text-decoration:none;font-weight:450;flex-shrink:0}.lp-header .brand b,.lp-footer .brand b{font-weight:800}.lp-header .brand img,.lp-footer .brand img{border-radius:27%}
.lp-header,.lp-footer{font-family:Roboto,Arial,sans-serif;line-height:1.6}.lp-header button,.lp-footer button{font:inherit;border:0;background:none;cursor:pointer;color:inherit}
.lp-header .icon,.lp-footer .icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

.lp-wrap{box-sizing:border-box;width:100%;margin-inline:auto;padding-inline:var(--gutter)}
/* Header like wiracode.com: brand left, menu centred, sign-in plus one action right, always a hairline underneath. */
.lp-header{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.92);backdrop-filter:saturate(1.6) blur(12px);border-bottom:1px solid var(--line)}
.lp-header-inner{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px;height:var(--header-h)}
.lp-header .brand{justify-self:start;font-size:19px;letter-spacing:-.4px;color:var(--ink)}.lp-header .brand img{width:34px;height:34px}
.lp-nav{display:flex;align-items:center;min-width:0}
.lp-nav-links{display:flex;gap:2px}
.lp-nav-links a{position:relative;display:inline-flex;align-items:center;min-height:40px;padding:0 12px;font-size:14.5px;font-weight:400;color:var(--ink2);text-decoration:none;white-space:nowrap}
.lp-nav-links a:hover{color:var(--ink)}
.lp-nav-links a[aria-current]{color:var(--ink);font-weight:500}
.lp-nav-links a[aria-current]::after{content:'';position:absolute;left:12px;right:12px;bottom:-13px;height:2px;border-radius:2px;background:var(--accent)}
.lp-nav-cta{display:none}
.lp-header .header-right{display:flex;align-items:center;justify-self:end;gap:8px}
.lp-header .lp-account:empty{display:none}
.lp-header .auth-login{background:none;color:var(--ink);border-radius:var(--r-sm);padding:10px 14px;font:500 15px Roboto,Arial,sans-serif;text-decoration:none}
.lp-header .auth-login:hover{background:var(--bg2)}
.lp-header .auth-account{border-color:var(--line);border-radius:8px}.lp-header .auth-avatar{background:var(--accent-soft);color:var(--accent);border-radius:6px}
.lp-header .lp-header-cta .lp-btn{min-height:40px;padding:0 18px}
.lp-menu-toggle{display:none;width:44px;height:44px;border:1px solid var(--line)!important;border-radius:var(--r-sm);place-items:center;color:var(--ink)}
.lp-menu-toggle:hover{background:var(--bg2)}
.lp-menu-toggle .icon:last-child,.lp-header.is-open .lp-menu-toggle .icon:first-child{display:none}
.lp-header.is-open .lp-menu-toggle .icon:last-child{display:block}

.lp-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 20px;border-radius:var(--r-sm);font-size:15px;font-weight:500;text-decoration:none;white-space:nowrap;border:1px solid transparent;transition:background .15s,border-color .15s,color .15s;box-sizing:border-box}
.lp-btn .icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.lp-btn-primary{background:var(--accent);color:#fff}.lp-btn-primary:hover{background:var(--accent-h)}
.lp-btn-ghost{color:var(--ink);border-color:#cfd5d6;background:#fff}.lp-btn-ghost:hover{border-color:var(--accent);color:var(--accent)}
.lp-btn-secondary{background:var(--ink);color:#fff}.lp-btn-secondary:hover{background:var(--navy2)}
.lp-btn-light{background:#fff;color:var(--navy)}.lp-btn-light:hover{background:#e2e8f0}
.lp-btn-outline-light{color:#fff;border-color:rgba(255,255,255,.35)}.lp-btn-outline-light:hover{background:rgba(255,255,255,.08)}
.lp-header :focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}.lp-footer :focus-visible{outline:2px solid #8fdce2;outline-offset:3px;border-radius:4px}

/* Footer like wiracode.com: dark, brand with address and socials, three link columns, legal links on the bottom line. */
.lp-footer{background:var(--navy);color:#fff;padding:clamp(48px,5vw,72px) 0 24px;font-size:15px}
.lp-footer-grid{display:grid;grid-template-columns:minmax(0,5fr) repeat(3,minmax(0,2fr));gap:40px 32px}
.lp-footer-brand .brand{font-size:18px;letter-spacing:-.4px;color:#fff}.lp-footer-brand .brand img{width:30px;height:30px}
.lp-footer .lp-footer-tagline{margin:16px 0 0;font-size:17px;font-weight:500;line-height:1.3;max-width:360px}
.lp-footer address{margin-top:14px;color:#a9b6c2;font-size:14px;font-style:normal;line-height:1.55}
.lp-footer-social{display:flex;gap:18px;margin:14px 0 0}
.lp-footer-social a{padding:5px 0;color:#fff;text-decoration:none}.lp-footer-social a:hover{color:#8fdce2}
.lp-footer nav{display:flex;flex-direction:column;align-items:flex-start}
.lp-footer nav strong{color:#a9b6c2;font-size:14px;font-weight:400;margin-bottom:8px}
.lp-footer nav a{padding:5px 0;color:#fff;text-decoration:none;overflow-wrap:anywhere}
.lp-footer nav a:hover,.lp-footer nav a[aria-current]{color:#8fdce2}
.lp-footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px 24px;flex-wrap:wrap;margin-top:clamp(36px,4vw,56px);padding-top:14px;border-top:1px solid rgba(255,255,255,.14);color:#a9b6c2;font-size:14px}
.lp-footer-bottom small{font-size:14px}
.lp-footer .lp-footer-bottom nav{flex-direction:row;flex-wrap:wrap;gap:4px 20px}
.lp-footer .lp-footer-bottom nav a{color:#a9b6c2;padding:6px 0}.lp-footer .lp-footer-bottom nav a:hover,.lp-footer .lp-footer-bottom nav a[aria-current]{color:#fff}

/* Tablet and phone: links move into a full-width sheet under the header. */
@media(max-width:960px){
 .lp-menu-toggle{display:grid}
 .lp-header .lp-header-cta{display:none}
 .lp-header-inner{display:flex;gap:12px}.lp-header .header-right{margin-left:auto}
 /* absolute, not fixed: the header's backdrop-filter makes it the containing block for fixed children */
 .lp-nav{display:none;position:absolute;top:100%;left:0;right:0;max-height:calc(100dvh - var(--header-h));border-top:1px solid var(--line);box-shadow:0 24px 48px -12px rgba(10,31,51,.25),0 0 0 100vmax rgba(10,31,51,.35);clip-path:inset(0 0 -100vmax 0);flex-direction:column;align-items:stretch;gap:24px;padding:16px var(--gutter) calc(24px + env(safe-area-inset-bottom));background:#fff;overflow-y:auto}
 .lp-header.is-open .lp-nav{display:flex}
 .lp-nav-links{flex-direction:column;gap:0}
 .lp-nav-links a{padding:16px 4px;border-radius:0;border-bottom:1px solid var(--line);font-size:18px}
 .lp-nav-links a[aria-current]{color:var(--accent)}
 .lp-nav-links a[aria-current]::after{display:none}
 .lp-nav-cta{display:grid}
 .lp-nav-cta .lp-btn{width:100%}
 .lp-menu-open,.lp-menu-open body{overflow:hidden}
 .lp-footer-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .lp-footer-brand{grid-column:1/-1}
}
@media(max-width:640px){
 :root{--header-h:64px}
 .lp-header-inner{gap:12px}
 .lp-header .header-right{gap:4px}
 .lp-header .auth-login{padding:8px 10px}
 .lp-footer{padding-top:48px}
 .lp-footer-grid{grid-template-columns:1fr 1fr;gap:32px 24px}
}
@media(prefers-reduced-motion:reduce){.lp-header{transition:none}}
