/* Shared public-site theme. Deliberately scoped away from the signed-in app. */
@font-face{font-family:SpacesSerif;src:url('/landing/assets/season-mix.woff2') format('woff2');font-weight:400 700;font-display:swap}
@font-face{font-family:SpacesSans;src:url('/landing/assets/inter.ttf') format('truetype');font-weight:100 900;font-display:swap}
body.spaces-blue-site,.public-page{
 --bg:#f7fbff;--canvas:#f7fbff;--paper:#fff;--cream:#f7fbff;
 --text:#173657;--ink:#173657;--text-dim:#536e89;--text-secondary:#536e89;
 --text-muted:#70869c;--muted:#607b95;--border:#d6e3ef;--line:#d6e3ef;
 --olive:#315f89;--olive-light:#789fc1;--light:#edf4fb;--subtle:#edf4fb;
 --blue:#214f7e;--blue-hover:#163b63;--green:#24735b;--green-soft:#e8f4ef;
 --serif:SpacesSerif,Georgia,serif;--sans:SpacesSans,Inter,-apple-system,sans-serif;
 --font:SpacesSans,Inter,-apple-system,sans-serif;--poppy:#d93632;
 color:var(--text);background:var(--bg);font-family:var(--sans);
 -webkit-font-smoothing:antialiased;
}
body.spaces-blue-site :is(h1,h2,h3),.public-page :is(h1,h2,h3){font-family:var(--serif);font-style:normal;font-weight:400}
body.spaces-blue-site :is(button,input,select,textarea){font-family:var(--sans)}
body.spaces-blue-site :is(a,button,input,select,textarea):focus-visible,.public-page a:focus-visible{outline:3px solid #82acd0;outline-offset:4px}
body.spaces-blue-site ::selection,.public-page ::selection{background:#dceafa;color:#102c52}

/* The same navy navigation, white surfaces and generous spacing as home. */
body.spaces-blue-site .page-nav{position:relative;inset:auto;padding:22px 24px;background:transparent;border:0;backdrop-filter:none;z-index:20}
body.spaces-blue-site .page-nav .nav-pill{display:flex;width:fit-content;max-width:100%;margin:0 auto;padding:12px 18px;gap:0;border:1px solid #ffffff24;border-radius:14px;background:#213e62;color:#fff;box-shadow:0 10px 30px #15375b18;backdrop-filter:blur(16px)}
body.spaces-blue-site .page-nav .nav-logo-link{margin-right:28px;flex-shrink:0}
body.spaces-blue-site .page-nav .nav-logo{width:34px;height:34px}
body.spaces-blue-site .page-nav .nav-link{display:inline-flex;color:#eaf2fb;font-size:13px;margin-right:22px;white-space:nowrap;padding:6px 0}
body.spaces-blue-site .page-nav .nav-link:hover{color:#fff;opacity:.8}
body.spaces-blue-site .page-nav .nav-cta{background:#fff;color:#173657;padding:10px 16px;border-radius:9px;font-size:13px;flex-shrink:0}
body.spaces-blue-site .page-nav .nav-cta:hover{background:#eaf2fb}
body.spaces-blue-site .page-content{max-width:790px;padding:64px 28px 90px}
body.spaces-blue-site .page-content h1{font-size:clamp(42px,5vw,64px);letter-spacing:-1.8px;line-height:1.08}
body.spaces-blue-site .page-content p{font-size:16px;line-height:1.85}
body.spaces-blue-site .page-content .page-subtitle{font-size:12px;letter-spacing:1.4px;color:#6485a3}
body.spaces-blue-site .page-content a{color:#315f89;border-color:#b4cde2}
body.spaces-blue-site footer{background:#102c52;color:#e9f2fc;border-color:#ffffff20}
body.spaces-blue-site footer :is(.footer-copy,.footer-links a){color:#becfe2}
body.spaces-blue-site footer .footer-brand{color:#fff}
body.spaces-blue-site footer .footer-inner{max-width:1160px;padding:36px 28px;margin:auto}

/* About: original message, presented as a letter beside a mosaic of life. */
body.public-about .about-layout{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:70px;max-width:1120px;padding:65px 28px 100px;align-items:start}
.about-intro{position:sticky;top:40px;padding-top:10px}
body.public-about .about-intro h1{font-size:clamp(58px,6vw,82px);letter-spacing:-3px;line-height:1.02;margin:0 0 24px}
body.public-about .about-intro .page-subtitle{display:block;font:400 30px/1.2 var(--serif);letter-spacing:-.6px;text-transform:none;color:#587b9d;margin:0 0 42px}
.about-photo-mosaic{position:relative;display:flex;align-items:center;gap:12px;min-height:210px;margin-top:20px}
.about-photo-mosaic img{width:38%;aspect-ratio:.88;object-fit:cover;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);filter:saturate(.85)}
.about-photo-mosaic img:nth-child(2){margin-top:90px;margin-left:-8%;z-index:1}
.about-photo-mosaic img:nth-child(3){margin-left:-8%;margin-top:-14px}
.about-message{padding:38px 40px 20px;background:#fff;border:1px solid #d6e3ef;border-radius:20px;box-shadow:0 14px 44px #193d6310}
body.public-about .about-message p{font-size:17px;line-height:1.9;color:#4c6884;margin:0 0 26px}
body.public-about .about-message p:first-child{color:#25486c;font-size:20px;line-height:1.75}
body.public-about .about-message p:last-child{font:400 29px/1.35 var(--serif);letter-spacing:-.5px;color:#173657;border-left:3px solid #d93632;padding-left:21px;margin:34px 0 20px}

/* Pricing keeps the existing offers, checkout links and plan details intact. */
body.spaces-blue-site .pricing-page{max-width:1220px;padding:36px 28px 90px;margin:auto}
body.spaces-blue-site .pricing-header h1{font-size:clamp(44px,6vw,76px);letter-spacing:-2px;line-height:1.08}
body.spaces-blue-site .pricing-sub{font-size:17px;max-width:640px;margin:20px auto 0}
body.spaces-blue-site .pricing-card{border-radius:18px;padding:30px 24px;background:#fff;border-color:#d6e3ef;box-shadow:0 8px 26px #17365708}
body.spaces-blue-site .pricing-card.featured{background:#143458;color:#fff;border-color:#143458;box-shadow:0 14px 35px #17365720;--text:#fff;--text-dim:#c9daeb;--text-muted:#b7cde2;--olive:#adc9e5;--border:#ffffff30}
body.spaces-blue-site .pricing-price{font-family:var(--serif);font-size:54px;letter-spacing:-1.5px}
body.spaces-blue-site .pricing-card-label{font-size:12px;letter-spacing:1.7px}
body.spaces-blue-site .pricing-features li{font-size:13px;line-height:1.7}
body.spaces-blue-site .pricing-cta{border-radius:9px;font-size:13px;padding:13px 12px}
body.spaces-blue-site .pricing-card:not(.featured) .pricing-cta{color:#214f7e;border-color:#b7cee2;background:#f7fbff}
body.spaces-blue-site .pricing-card.featured .pricing-cta{background:#d93632;color:#fff;border-color:#d93632}
body.spaces-blue-site .pricing-card.featured .pricing-cta:hover{background:#c72f2b}
body.spaces-blue-site .pricing-badge{background:#d93632;color:#fff;letter-spacing:1px}
body.spaces-blue-site .pricing-credits{background:#edf4fb;border-color:#d6e3ef;border-radius:14px}

/* Articles, help, features and contact keep their existing structures. */
body.spaces-blue-site :is(.faq-header h1,.contact-hero h1,.features-header h1,.roadmap-content h1){font-size:clamp(42px,5vw,68px);letter-spacing:-1.8px}
body.spaces-blue-site :is(.contact-card,.feature-card,.blog-card,.post-card){background:#fff;border-color:#d6e3ef;border-radius:15px}
body.spaces-blue-site :is(.faq-item,.feature-row,.blog-divider){border-color:#d6e3ef}
body.spaces-blue-site :is(.contact-card a,.blog-category,.post-category,.eyebrow){color:#315f89}
body.spaces-blue-site :is(input,textarea,select){border-color:#c8dced;background:#fff;color:#173657}
body.spaces-blue-site :is(.blog-hero,.blog-header,.blog-post-header,.contact-hero,.features-page){background:transparent}

/* Agent directory and detail pages use a separate layout and the same palette. */
body.public-agents>header{height:74px;background:#173657;border-color:#ffffff25;color:#fff}
body.public-agents>header nav{color:#e9f2fc}
body.public-agents>header .download{background:#fff;color:#173657;border-radius:9px}
body.public-agents :is(.directory-hero,.detail,.story-section){background:transparent}
body.public-agents :is(.directory-hero h1,.detail h1){font-weight:400;font-size:clamp(44px,5vw,68px);letter-spacing:-1.8px;line-height:1.07}
body.public-agents .eyebrow{color:#b62e2a}
body.public-agents .card{background:#fff;border:1px solid #d6e3ef;box-shadow:0 5px 20px #17365706}
body.public-agents .filters button.active{background:#fff0ef;color:#b62e2a;box-shadow:inset 0 0 0 1px #e55b55}
body.public-agents .search{background:#edf4fb;border:1px solid #d6e3ef}
body.public-reset-password .brand-panel{background:radial-gradient(circle at 84% 18%,#4f87b855,transparent 35%),linear-gradient(135deg,#102c52,#214f7e)}
body.public-reset-password .form-panel{background:radial-gradient(circle at 85% 12%,#dceafa88,transparent 35%),#f7fbff}
body.public-reset-password .card{background:#fff;border-color:#d6e3ef;box-shadow:0 18px 60px #17365712}
body.public-reset-password .icon-wrap{background:#edf4fb;color:#315f89}
body.public-reset-password .secondary-button{background:#fff;border-color:#c8dced;color:#173657}
body.public-reset-password .primary-button:hover{background:#214f7e}

/* Public Space detail URLs share this theme, without changing app workspaces. */
.public-page{min-height:100dvh;--ink:#173657;--surface:#fff;--subtle:#edf4fb;--muted:#607b95;--border:#d6e3ef}
.public-page .public-nav{background:#173657;color:#fff;border:0;border-radius:14px;max-width:1120px;margin:22px auto;padding:16px 24px}
.public-page .space-public-hero h1{font-size:clamp(44px,5vw,68px);font-weight:400;letter-spacing:-1.7px}
.public-page .space-public-hero p{color:#536e89}
.public-page .rust-button{background:#d93632;border-radius:10px;color:#fff}
.public-page .rust-button:hover{background:#c72f2b}
.public-page .space-option{background:#fff;border-color:#d6e3ef}

@media(max-width:1000px){
 body.spaces-blue-site .page-nav .nav-link{font-size:12px;margin-right:17px}
 body.public-about .about-layout{gap:36px}
 .about-message{padding:28px 28px 14px}
 body.spaces-blue-site .pricing-cards.four-col{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
 body.spaces-blue-site .page-nav{padding:14px 12px}
 body.spaces-blue-site .page-nav .nav-pill{width:100%;padding:10px 12px;overflow-x:auto;border-radius:12px;justify-content:flex-start;scrollbar-width:none}
 body.spaces-blue-site .page-nav .nav-logo-link{margin-right:18px}
 body.spaces-blue-site .page-nav .nav-link{display:inline-flex;flex-shrink:0;margin-right:18px}
 body.spaces-blue-site .page-content{padding:36px 22px 60px}
 body.public-about .about-layout{display:block;padding:40px 20px 60px}
 .about-intro{position:static}
 body.public-about .about-intro h1{font-size:62px;max-width:340px}
 body.public-about .about-intro .page-subtitle{font-size:28px;margin-bottom:20px}
 .about-photo-mosaic{max-width:360px;margin:10px auto 30px;min-height:170px}
 .about-photo-mosaic img{max-height:160px}
 .about-photo-mosaic img:nth-child(2){margin-top:45px}
 body.public-about .about-message{padding:28px 24px 10px}
 body.public-about .about-message p{font-size:16px;line-height:1.85}
 body.public-about .about-message p:first-child{font-size:18px}
 body.public-about .about-message p:last-child{font-size:27px}
 body.spaces-blue-site .pricing-page{padding:26px 20px 60px}
 body.spaces-blue-site .pricing-cards.four-col{grid-template-columns:1fr}
 body.spaces-blue-site .pricing-header{padding:20px 0 36px}
 body.spaces-blue-site footer .footer-inner{padding:28px 22px}
 .public-page .public-nav{margin:14px 12px;border-radius:12px}
 body.public-agents .nav-inner{width:calc(100% - 28px)}
}

/* The founder letter keeps its original sign-off and handwritten signature. */
body.public-about .about-message p:nth-last-child(2){font:400 29px/1.35 var(--serif);letter-spacing:-.5px;color:#173657;border-left:3px solid #d93632;padding-left:21px;margin:34px 0 20px}
body.public-about .about-message p.signature{font:400 16px/1.8 var(--sans);letter-spacing:normal;color:#536e89;border:0;padding:0;margin:34px 0 22px}
body.public-about .about-message .signature-img{width:150px;max-width:100%;height:auto;margin-top:14px}

/* Keep web access visible beside the logo on narrow public pages. */
body.spaces-blue-site .page-nav .nav-cta + .nav-cta{margin-left:8px}
@media(max-width:700px){
 body.spaces-blue-site .page-nav .nav-logo-link{order:-2}
 body.spaces-blue-site .page-nav .nav-cta[href="/app"]{order:-1;margin-left:0;margin-right:16px}
}
